mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-26 22:51:01 +00:00
binutils: don't lose entry point when linking with -bnogc
This commit is contained in:
parent
9f7a6ac3a9
commit
06b8cf62eb
@ -3741,6 +3741,10 @@ bfd_xcoff_size_dynamic_sections (bfd *output_bfd,
|
||||
}
|
||||
}
|
||||
}
|
||||
// mark entry point, the XCOFF_ENTRY flag is needed later
|
||||
if (entry != NULL
|
||||
&& !xcoff_mark_symbol_by_name (info, entry, XCOFF_ENTRY))
|
||||
goto error_return;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user