mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-12 10:41:31 +08:00
2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (elf_mark_used_section): Remove check for special sections.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* elflink.c (elf_mark_used_section): Remove check for special
|
||||||
|
sections.
|
||||||
|
|
||||||
2005-03-18 Andreas Schwab <schwab@suse.de>
|
2005-03-18 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
* elfxx-ia64.c (elfNN_ia64_install_value): Change type of insn
|
* elfxx-ia64.c (elfNN_ia64_install_value): Change type of insn
|
||||||
|
@ -9012,9 +9012,7 @@ elf_mark_used_section (struct elf_link_hash_entry *h,
|
|||||||
|| h->root.type == bfd_link_hash_defweak)
|
|| h->root.type == bfd_link_hash_defweak)
|
||||||
{
|
{
|
||||||
asection *s = h->root.u.def.section;
|
asection *s = h->root.u.def.section;
|
||||||
if (s != NULL
|
if (s != NULL && s->output_section != NULL)
|
||||||
&& s->output_section != NULL
|
|
||||||
&& !bfd_is_const_section (s->output_section))
|
|
||||||
s->output_section->flags |= SEC_KEEP;
|
s->output_section->flags |= SEC_KEEP;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user