projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60b4885
)
* elf32-ppc.c (ppc_elf_fake_sections): Don't set SHF_EXCLUDE on
author
Alan Modra
<amodra@gmail.com>
Mon, 24 Oct 2005 04:32:50 +0000
(
04:32
+0000)
committer
Alan Modra
<amodra@gmail.com>
Mon, 24 Oct 2005 04:32:50 +0000
(
04:32
+0000)
group sections.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf32-ppc.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index f0cf08bc95fbf5e47cc540e60afcbef58f638d21..06efc1fd43750a150319a0ceebca1ce4d486a85c 100644
(file)
--- 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 2134af2c761e037bd03339e9e531c2561636580b..7c072fd5a5c581e92fd7ff750ba045e446d53d54 100644
(file)
--- 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)