diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-05-26 22:18:22 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-05-26 22:18:22 +0000 |
commit | 68d7e96a436ae00396227dca4668999b7a4bceef (patch) | |
tree | 89648b1ac83038763b76c64e310e532977c816eb /bfd/elf-bfd.h | |
parent | f504f079c05825a32433b0e9007485c8dd259c05 (diff) | |
download | gdb-68d7e96a436ae00396227dca4668999b7a4bceef.zip gdb-68d7e96a436ae00396227dca4668999b7a4bceef.tar.gz gdb-68d7e96a436ae00396227dca4668999b7a4bceef.tar.bz2 |
2009-05-26 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (_bfd_elf_is_ifunc_symbol): New.
* elf32-i386.c (is_indirect_symbol): Renamed to ...
* elflink.c (_bfd_elf_is_ifunc_symbol): This.
* elf32-i386.c (allocate_dynrelocs): Updated.
(elf_i386_relocate_section): Likewise.
* elf64-x86-64.c (allocate_dynrelocs): Likewise.
(elf64_x86_64_relocate_section): Likewise.
* elf64-x86-64.c (is_indirect_symbol): Removed.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 2fbff30..adac206 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -2155,6 +2155,9 @@ extern asection * _bfd_elf_make_ifunc_reloc_section /* Large common section. */ extern asection _bfd_elf_large_com_section; +extern bfd_boolean _bfd_elf_is_ifunc_symbol + (bfd *, struct elf_link_hash_entry *); + /* This is the condition under which finish_dynamic_symbol will be called. If our finish_dynamic_symbol isn't called, we'll need to do something about initializing any .plt and .got entries in relocate_section. */ |