mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-29 04:53:56 +08:00
Now compiles with gcc too.
This commit is contained in:
parent
92abd4a713
commit
ac5939079f
@ -219,13 +219,13 @@ main (argc, argv)
|
||||
if (config.relocateable_output) {
|
||||
output_bfd->flags &= ~EXEC_P;
|
||||
|
||||
ldwrite(write_map);
|
||||
ldwrite();
|
||||
bfd_close(output_bfd);
|
||||
}
|
||||
else {
|
||||
output_bfd->flags |= EXEC_P;
|
||||
|
||||
ldwrite(write_map);
|
||||
ldwrite();
|
||||
|
||||
if (config.make_executable == false && force_make_executable ==false) {
|
||||
|
||||
|
@ -387,8 +387,7 @@ DEFUN_VOID(write_rel)
|
||||
}
|
||||
|
||||
void
|
||||
DEFUN(ldwrite, (write_map),
|
||||
boolean write_map)
|
||||
DEFUN_VOID(ldwrite)
|
||||
{
|
||||
data_area = (PTR) ldmalloc(largest_section);
|
||||
if (config.relocateable_output == true)
|
||||
@ -404,9 +403,9 @@ DEFUN(ldwrite, (write_map),
|
||||
|
||||
/* Print a map, if requested. */
|
||||
|
||||
if (write_map) {
|
||||
if (config.map_file) {
|
||||
ldsym_print_symbol_table ();
|
||||
lang_map(stdout);
|
||||
lang_map();
|
||||
}
|
||||
|
||||
ldsym_write ();
|
||||
|
Loading…
Reference in New Issue
Block a user