2012-11-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>

PR target/14788
	* elf32-s390.c (elf_s390_relocate_section): Set elf.dynobj for
	local ifunc symbols.
	* elf64-s390.c (elf_s390_relocate_section): Likewise.
This commit is contained in:
Andreas Krebbel 2012-11-05 12:31:08 +00:00
parent 0a6f1bf2f9
commit 0cb79d6955
3 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2012-11-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
PR target/14788
* elf32-s390.c (elf_s390_relocate_section): Set elf.dynobj for
local ifunc symbols.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
2012-11-05 Alan Modra <amodra@gmail.com>
* configure.in: Apply 2012-09-10 change to config.in here.

View File

@ -1013,6 +1013,9 @@ elf_s390_check_relocs (bfd *abfd,
{
struct plt_entry *plt;
if (htab->elf.dynobj == NULL)
htab->elf.dynobj = abfd;
if (!s390_elf_create_ifunc_sections (htab->elf.dynobj, info))
return FALSE;

View File

@ -937,6 +937,9 @@ elf_s390_check_relocs (bfd *abfd,
{
struct plt_entry *plt;
if (htab->elf.dynobj == NULL)
htab->elf.dynobj = abfd;
if (!s390_elf_create_ifunc_sections (htab->elf.dynobj, info))
return FALSE;