summaryrefslogtreecommitdiff
path: root/bfd/elf32-i370.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-10-24 11:18:03 +0000
committerAlan Modra <amodra@bigpond.net.au>2005-10-24 11:18:03 +0000
commit27be2e65848b21c83b81c9ed177c520e6d4b083d (patch)
tree4b5ba64cfe9c0512e2c20f741ef7037e846a3aca /bfd/elf32-i370.c
parent37d49e86430b3b0f8d0e0a3117b8c5e3cb5a9c4e (diff)
downloadgdb-27be2e65848b21c83b81c9ed177c520e6d4b083d.tar.gz
* elf32-i370.c (i370_elf_fake_sections): Don't set SHF_EXCLUDE on
group sections.
Diffstat (limited to 'bfd/elf32-i370.c')
-rw-r--r--bfd/elf32-i370.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-i370.c b/bfd/elf32-i370.c
index c9c44337805..d9e6fbf5280 100644
--- a/bfd/elf32-i370.c
+++ b/bfd/elf32-i370.c
@@ -379,7 +379,7 @@ i370_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)