* ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
authorAlan Modra <amodra@gmail.com>
Fri, 28 May 2004 05:42:30 +0000 (05:42 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 28 May 2004 05:42:30 +0000 (05:42 +0000)
commit164e712d71c3e73cf048b45615b8f3f2f1fc4b84
treeaf51365646945b52fa48e5eebdd14b134562df8a
parent652ca075fb8a0fa8dfaed984df1e8ca250f6fcce
* ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
(output_section_callback): Nor SEC_KEEP here.
(gc_section_callback): Twiddle SEC_EXCLUDE here.
(lang_gc_wild): Delete.  Fold into..
(lang_gc_sections_1): ..here.  Only call bfd_gc_sections when garbage
collecting.
(lang_process): Always call lang_gc_sections.
(lang_place_orphans): Handle SEC_EXCLUDE sections.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
SEC_EXCLUDE code.
ld/ChangeLog
ld/emultempl/elf32.em
ld/ldlang.c
This page took 0.025183 seconds and 4 git commands to generate.