diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2004-05-27 05:53:36 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2004-05-27 05:53:36 +0000 |
commit | b30962503862fcef0e3c550d4b652b2318e8684a (patch) | |
tree | e5c2134c9b2c5fa702f16eb71ddd6e80da1c5e78 /bfd/elf.c | |
parent | 9bb351fd9cfb5adf3630f433486727808fe994e7 (diff) | |
download | gdb-b30962503862fcef0e3c550d4b652b2318e8684a.zip gdb-b30962503862fcef0e3c550d4b652b2318e8684a.tar.gz gdb-b30962503862fcef0e3c550d4b652b2318e8684a.tar.bz2 |
bfd/
2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (_bfd_elf_make_section_from_shdr): Undo the last
change.
ld/
2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
* ldlang.c (lang_add_section): Likewise.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -677,7 +677,7 @@ _bfd_elf_make_section_from_shdr (bfd *abfd, if (hdr->sh_type != SHT_NOBITS) flags |= SEC_HAS_CONTENTS; if (hdr->sh_type == SHT_GROUP) - flags |= SEC_GROUP; + flags |= SEC_GROUP | SEC_EXCLUDE; if ((hdr->sh_flags & SHF_ALLOC) != 0) { flags |= SEC_ALLOC; |