bfd/
authorAlan Modra <amodra@gmail.com>
Wed, 26 May 2004 10:23:51 +0000 (10:23 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 26 May 2004 10:23:51 +0000 (10:23 +0000)
commite49f502242bc5fc72547397cd344aea5b9f53a14
treeae210021072a6f2ccbcc28338697c52a865fb43c
parentc23968a21823bf856b9876dcf30483dc26c1a650
bfd/
* elf.c (_bfd_elf_make_section_from_shdr): Don't set SEC_EXCLUDE
for SHT_GROUP sections.
ld/
* ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
sections when doing a final link.  Clear SEC_EXCLUDE when doing
a relocable link, except for SEC_DEBUGGING sections.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
same condition here to drop SEC_EXCLUDE orphan sections.
bfd/ChangeLog
bfd/elf.c
ld/ChangeLog
ld/emultempl/elf32.em
ld/ldlang.c