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:
c9df664
)
* elf64-ppc.c (ppc64_elf_size_stubs): Ignore non-code sections.
author
Alan Modra
<amodra@gmail.com>
Thu, 17 Aug 2006 08:09:52 +0000
(08:09 +0000)
committer
Alan Modra
<amodra@gmail.com>
Thu, 17 Aug 2006 08:09:52 +0000
(08:09 +0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf64-ppc.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 283ae24eb077efc1a950d1cb6a274bdd1e50a303..ca26d6024c62112fda0c12bef072a9ef567a1c65 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,7
@@
+2006-08-17 Alan Modra <amodra@bigpond.net.au>
+
+ * elf64-ppc.c (ppc64_elf_size_stubs): Ignore non-code sections.
+
2006-08-16 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3015
diff --git
a/bfd/elf64-ppc.c
b/bfd/elf64-ppc.c
index 525a72f831adc10285e4c80f9203bc9a81d30c67..67e271365905ce6df2712ac9b9ea75ea7f1ce5ee 100644
(file)
--- a/
bfd/elf64-ppc.c
+++ b/
bfd/elf64-ppc.c
@@
-9080,6
+9080,9
@@
ppc64_elf_size_stubs (bfd *output_bfd,
/* If there aren't any relocs, then there's nothing more
to do. */
if ((section->flags & SEC_RELOC) == 0
+ || (section->flags & SEC_ALLOC) == 0
+ || (section->flags & SEC_LOAD) == 0
+ || (section->flags & SEC_CODE) == 0
|| section->reloc_count == 0)
continue;