aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-s390.c
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>2015-10-19 13:08:27 +0200
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2015-10-22 09:59:40 +0200
commit61643fbadb17932965e5c02db75ec3f8e211d7b1 (patch)
tree594986853e455bcc0c1eb4598a64254da19c1ca7 /bfd/elf32-s390.c
parent8b89121d4444e5c23295c63835da538b11d4cb49 (diff)
downloadgdb-61643fbadb17932965e5c02db75ec3f8e211d7b1.zip
gdb-61643fbadb17932965e5c02db75ec3f8e211d7b1.tar.gz
gdb-61643fbadb17932965e5c02db75ec3f8e211d7b1.tar.bz2
S/390: Get rid of superfluous parameter to s390_elf_allocate_ifunc_dyn_relocs.
bfd/ChangeLog: * elf-s390-common.c (s390_elf_allocate_ifunc_dyn_relocs): Remove `head' parameter. * elf32-s390.c (allocate_dynrelocs): Don't use last parameter. * elf64-s390.c (allocate_dynrelocs): Don't use last parameter.
Diffstat (limited to 'bfd/elf32-s390.c')
-rw-r--r--bfd/elf32-s390.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elf32-s390.c b/bfd/elf32-s390.c
index dc2d80f..509d8f9 100644
--- a/bfd/elf32-s390.c
+++ b/bfd/elf32-s390.c
@@ -1787,8 +1787,7 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf)
/* Since STT_GNU_IFUNC symbol must go through PLT, we handle it
here if it is defined and referenced in a non-shared object. */
if (s390_is_ifunc_symbol_p (h) && h->def_regular)
- return s390_elf_allocate_ifunc_dyn_relocs (info, h,
- &eh->dyn_relocs);
+ return s390_elf_allocate_ifunc_dyn_relocs (info, h);
else if (htab->elf.dynamic_sections_created
&& h->plt.refcount > 0)
{