diff options
author | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2015-10-19 13:08:27 +0200 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2015-10-22 09:59:40 +0200 |
commit | 61643fbadb17932965e5c02db75ec3f8e211d7b1 (patch) | |
tree | 594986853e455bcc0c1eb4598a64254da19c1ca7 /bfd/elf-s390-common.c | |
parent | 8b89121d4444e5c23295c63835da538b11d4cb49 (diff) | |
download | gdb-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/elf-s390-common.c')
-rw-r--r-- | bfd/elf-s390-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf-s390-common.c b/bfd/elf-s390-common.c index 6b5b17b..2daeef6 100644 --- a/bfd/elf-s390-common.c +++ b/bfd/elf-s390-common.c @@ -87,12 +87,12 @@ s390_elf_create_ifunc_sections (bfd *abfd, struct bfd_link_info *info) static bfd_boolean s390_elf_allocate_ifunc_dyn_relocs (struct bfd_link_info *info, - struct elf_link_hash_entry *h, - struct elf_dyn_relocs **head) + struct elf_link_hash_entry *h) { struct elf_dyn_relocs *p; struct elf_link_hash_table *htab; struct elf_s390_link_hash_entry *eh = (struct elf_s390_link_hash_entry*)h; + struct elf_dyn_relocs **head = &eh->dyn_relocs; htab = elf_hash_table (info); eh->ifunc_resolver_address = h->root.u.def.value; |