OSDN Git Service

2009-06-03 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl>
Wed, 3 Jun 2009 12:35:17 +0000 (12:35 +0000)
committerhjl <hjl>
Wed, 3 Jun 2009 12:35:17 +0000 (12:35 +0000)
commit89f67a2714c9dfaa91f391dca769f82e214351eb
treea005fd2f31384b3ffa521e951a36f4f5490dae3d
parentf67edfec6a4d001267728d83451061f7ef296b35
2009-06-03  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_allocate_dynrelocs): Allocate
GOT entry for STT_GNU_IFUNC symbol with pointer equality.
(elf_i386_relocate_section): Adjust R_386_GOT32 relocation
against STT_GNU_IFUNC symbols for static executables.
(elf_i386_finish_dynamic_symbol): Load GOT entry with
PLT entry for STT_GNU_IFUNC symbol with pointer equality.

* elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Allocate
GOT entry for STT_GNU_IFUNC symbol with pointer equality.
(elf64_x86_64_finish_dynamic_symbol): Load GOT entry with
PLT entry for STT_GNU_IFUNC symbol with pointer equality.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c