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:
6aa2765
)
PR ld/13131
author
Alan Modra
<amodra@gmail.com>
Wed, 7 Sep 2011 13:56:09 +0000
(13:56 +0000)
committer
Alan Modra
<amodra@gmail.com>
Wed, 7 Sep 2011 13:56:09 +0000
(13:56 +0000)
* bfd/elf64-ppc.c (adjust_toc_syms): Ensure ppc64_elf_howto_table
is initialized.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf64-ppc.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 0052fe51b956b7cd67e3b82cc2974690754604eb..523fe170e78735aca4ef44287da8957b2a0590f4 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,9
@@
+2011-09-07 Alan Modra <amodra@gmail.com>
+
+ PR ld/13131
+ * bfd/elf64-ppc.c (adjust_toc_syms): Ensure ppc64_elf_howto_table
+ is initialized.
+
2011-09-06 Alan Modra <amodra@gmail.com>
PR ld/13131
diff --git
a/bfd/elf64-ppc.c
b/bfd/elf64-ppc.c
index 8c14c0cd6ba8002a8c4232f7cd422e82f08c0817..5992f0824c7e413eb36271c3d6c89e19ce518e95 100644
(file)
--- a/
bfd/elf64-ppc.c
+++ b/
bfd/elf64-ppc.c
@@
-8382,6
+8382,8
@@
ppc64_elf_edit_toc (struct bfd_link_info *info)
break;
default:
+ if (!ppc64_elf_howto_table[R_PPC64_ADDR32])
+ ppc_howto_init ();
info->callbacks->einfo
(_("%P: %H: %s relocation references "
"optimized away TOC entry\n"),