From: Alan Modra Date: Mon, 24 Oct 2005 11:18:03 +0000 (+0000) Subject: * elf32-i370.c (i370_elf_fake_sections): Don't set SHF_EXCLUDE on X-Git-Tag: gdb_6_4-2005-11-01-branchpoint~70 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=27be2e65848b21c83b81c9ed177c520e6d4b083d;p=pf3gnuchains%2Fpf3gnuchains4x.git * elf32-i370.c (i370_elf_fake_sections): Don't set SHF_EXCLUDE on group sections. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 98f7402bb1..231e6daf8a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2005-10-24 Alan Modra + + * elf32-i370.c (i370_elf_fake_sections): Don't set SHF_EXCLUDE on + group sections. + 2005-10-24 Jan Beulich * 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 c9c4433780..d9e6fbf528 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)