diff options
author | willnewton <willnewton> | 2013-05-07 17:03:51 +0000 |
---|---|---|
committer | willnewton <willnewton> | 2013-05-07 17:03:51 +0000 |
commit | a26a65fe2ce61399d14f7ec0dee2909805fb6dfb (patch) | |
tree | 272c4ea93683fb50eb466fd21d34d4a8e6cc82c5 /bfd/elf32-i386.c | |
parent | da4eaffcb8c594c89dedd94b7bbbe86b5249551b (diff) | |
download | binutils-redhat-a26a65fe2ce61399d14f7ec0dee2909805fb6dfb.tar.gz |
bfd/elf-ifunc.c: Add header size arg to _bfd_elf_allocate_ifunc_dyn_relocs.
bfd/ChangeLog:
2013-05-07 Will Newton <will.newton@linaro.org>
* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Add a
plt_header_size argument for ports where it differs from
plt_entry_size.
* elf-bfd.h: Likewise.
* elf32-i386.c: Pass plt_header_size to
_bfd_elf_allocate_ifunc_dyn_relocs.
* elf64-x86-64.c: Likewise.
Diffstat (limited to 'bfd/elf32-i386.c')
-rw-r--r-- | bfd/elf32-i386.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 2609130d81..cc8b48efef 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -2197,7 +2197,8 @@ elf_i386_allocate_dynrelocs (struct elf_link_hash_entry *h, void *inf) if (h->type == STT_GNU_IFUNC && h->def_regular) return _bfd_elf_allocate_ifunc_dyn_relocs (info, h, &eh->dyn_relocs, - plt_entry_size, 4); + plt_entry_size, + plt_entry_size, 4); else if (htab->elf.dynamic_sections_created && h->plt.refcount > 0) { |