diff options
author | Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | 2012-11-05 12:31:08 +0000 |
---|---|---|
committer | Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | 2012-11-05 12:31:08 +0000 |
commit | 0cb79d6955c226a3639ae92f771509754ed3276d (patch) | |
tree | cb7af19a2b62074f71d6a8a524bed6de00920d43 /bfd/elf64-s390.c | |
parent | 0a6f1bf2f98aae39f737589251096547eb30a3fc (diff) | |
download | gdb-0cb79d6955c226a3639ae92f771509754ed3276d.zip gdb-0cb79d6955c226a3639ae92f771509754ed3276d.tar.gz gdb-0cb79d6955c226a3639ae92f771509754ed3276d.tar.bz2 |
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.
Diffstat (limited to 'bfd/elf64-s390.c')
-rw-r--r-- | bfd/elf64-s390.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf64-s390.c b/bfd/elf64-s390.c index 19926c6..2b6d9bf 100644 --- a/bfd/elf64-s390.c +++ b/bfd/elf64-s390.c @@ -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; |