mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-04 15:54:25 +08:00
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:
parent
0a6f1bf2f9
commit
0cb79d6955
@ -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>
|
2012-11-05 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* configure.in: Apply 2012-09-10 change to config.in here.
|
* configure.in: Apply 2012-09-10 change to config.in here.
|
||||||
|
@ -1013,6 +1013,9 @@ elf_s390_check_relocs (bfd *abfd,
|
|||||||
{
|
{
|
||||||
struct plt_entry *plt;
|
struct plt_entry *plt;
|
||||||
|
|
||||||
|
if (htab->elf.dynobj == NULL)
|
||||||
|
htab->elf.dynobj = abfd;
|
||||||
|
|
||||||
if (!s390_elf_create_ifunc_sections (htab->elf.dynobj, info))
|
if (!s390_elf_create_ifunc_sections (htab->elf.dynobj, info))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
@ -937,6 +937,9 @@ elf_s390_check_relocs (bfd *abfd,
|
|||||||
{
|
{
|
||||||
struct plt_entry *plt;
|
struct plt_entry *plt;
|
||||||
|
|
||||||
|
if (htab->elf.dynobj == NULL)
|
||||||
|
htab->elf.dynobj = abfd;
|
||||||
|
|
||||||
if (!s390_elf_create_ifunc_sections (htab->elf.dynobj, info))
|
if (!s390_elf_create_ifunc_sections (htab->elf.dynobj, info))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user