mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
* ldemul.c (before_allocation_default): When emitrelocations,
don't strip sections.. * ldlang.c (lang_add_section): ..and don't set up map_head, map_tail.
This commit is contained in:
@@ -2380,6 +2380,7 @@ lang_add_section (lang_statement_list_type *ptr,
|
||||
section->output_section = output->bfd_section;
|
||||
|
||||
if (!link_info.relocatable
|
||||
&& !link_info.emitrelocations
|
||||
&& !stripped_excluded_sections)
|
||||
{
|
||||
asection *s = output->bfd_section->map_tail.s;
|
||||
|
||||
Reference in New Issue
Block a user