aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-10-24 11:18:03 +0000
committerAlan Modra <amodra@gmail.com>2005-10-24 11:18:03 +0000
commit3e45f319ea0afd7c61f0d425e43eb698e4a6d035 (patch)
treed6c96105eb630dd5642151df2aa60e1b2a12bd16 /bfd
parent15cf70afb64f7180596667c335ca658f9074fa65 (diff)
downloadgdb-3e45f319ea0afd7c61f0d425e43eb698e4a6d035.zip
gdb-3e45f319ea0afd7c61f0d425e43eb698e4a6d035.tar.gz
gdb-3e45f319ea0afd7c61f0d425e43eb698e4a6d035.tar.bz2
* elf32-i370.c (i370_elf_fake_sections): Don't set SHF_EXCLUDE on
group sections.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-i370.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 98f7402..231e6da 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-24 Alan Modra <amodra@bigpond.net.au>
+
+ * elf32-i370.c (i370_elf_fake_sections): Don't set SHF_EXCLUDE on
+ group sections.
+
2005-10-24 Jan Beulich <jbeulich@novell.com>
* cpu-ia64-opc.c (elf64_ia64_operands): Move memory operand out of
diff --git a/bfd/elf32-i370.c b/bfd/elf32-i370.c
index c9c4433..d9e6fbf 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)