mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
2005-06-04 H.J. Lu <hongjiu.lu@intel.com>
PR 992 * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current section for etree_assign, etree_provide and etree_provided. Call fold_binary on etree_binary. * ldlang.c (lang_mark_used_section_1): Handle load base.
This commit is contained in:
@@ -3065,7 +3065,12 @@ lang_mark_used_section_1
|
||||
|
||||
os = &(s->output_section_statement);
|
||||
if (os->bfd_section != NULL)
|
||||
lang_mark_used_section_1 (os->children.head, os);
|
||||
{
|
||||
lang_mark_used_section_1 (os->children.head, os);
|
||||
if (os->load_base)
|
||||
exp_mark_used_section (os->load_base,
|
||||
bfd_abs_section_ptr);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case lang_wild_statement_enum:
|
||||
|
||||
Reference in New Issue
Block a user