diff options
author | Alan Modra <amodra@gmail.com> | 2005-10-24 04:32:50 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-10-24 04:32:50 +0000 |
commit | d30e8e7c0e2007a38a7648b5496d7fdf14836078 (patch) | |
tree | 40c213b0748348f6d78c5bc13929bb9fbecd4910 /bfd | |
parent | 60b488501c6ddbf3f97eb02b50c62e5d0ab93800 (diff) | |
download | gdb-d30e8e7c0e2007a38a7648b5496d7fdf14836078.zip gdb-d30e8e7c0e2007a38a7648b5496d7fdf14836078.tar.gz gdb-d30e8e7c0e2007a38a7648b5496d7fdf14836078.tar.bz2 |
* elf32-ppc.c (ppc_elf_fake_sections): Don't set SHF_EXCLUDE on
group sections.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-ppc.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f0cf08b..06efc1f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2005-10-24 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_fake_sections): Don't set SHF_EXCLUDE on + group sections. + 2005-10-23 H.J. Lu <hongjiu.lu@intel.com> * coff-rs6000.c (rs6000coff_vec): Initialize diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 2134af2..7c072fd 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -1856,7 +1856,7 @@ ppc_elf_fake_sections (bfd *abfd ATTRIBUTE_UNUSED, Elf_Internal_Shdr *shdr, asection *asect) { - if ((asect->flags & SEC_EXCLUDE) != 0) + if ((asect->flags & (SEC_GROUP | SEC_EXCLUDE)) == SEC_EXCLUDE) shdr->sh_flags |= SHF_EXCLUDE; if ((asect->flags & SEC_SORT_ENTRIES) != 0) |