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:
bac25e5
)
* elf64-ppc.c (ppc64_elf_build_stubs): Test glink size for
author
Alan Modra
<amodra@gmail.com>
Sun, 1 Oct 2006 13:59:21 +0000
(13:59 +0000)
committer
Alan Modra
<amodra@gmail.com>
Sun, 1 Oct 2006 13:59:21 +0000
(13:59 +0000)
existence of PLT.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf64-ppc.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index e9dc06f1fd9903630be512205f25a3950008beaf..dee86ea263fc8f6b327f6b1c46fc48100637d36f 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,8
@@
+2006-10-01 Alan Modra <amodra@bigpond.net.au>
+
+ * elf64-ppc.c (ppc64_elf_build_stubs): Test glink size for
+ existence of PLT.
+
2006-09-29 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3283
diff --git
a/bfd/elf64-ppc.c
b/bfd/elf64-ppc.c
index 6917623b02702fcbfa70d3f131f7625523c5b8aa..d87a1b2020103cc755efacc53509c4869064312b 100644
(file)
--- a/
bfd/elf64-ppc.c
+++ b/
bfd/elf64-ppc.c
@@
-9451,7
+9451,7
@@
ppc64_elf_build_stubs (bfd_boolean emit_stub_syms,
stub_sec->size = 0;
}
- if (htab->
plt != NULL
)
+ if (htab->
glink != NULL && htab->glink->size != 0
)
{
unsigned int indx;
bfd_vma plt0;