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/elf32-ppc.c | |
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/elf32-ppc.c')
-rw-r--r-- | bfd/elf32-ppc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |