PR ld/13131
* bfd/elf64-ppc.c (adjust_toc_syms): Ensure ppc64_elf_howto_table is initialized.
This commit is contained in:
parent
6aa27652a7
commit
28942f6293
@ -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
|
||||
|
@ -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"),
|
||||
|
Loading…
Reference in New Issue
Block a user