x86: Add POINTER_LOCAL_IFUNC_P/PLT_LOCAL_IFUNC_P
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Oct 2017 07:35:13 +0000 (00:35 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Oct 2017 07:37:43 +0000 (00:37 -0700)
commitcf1070f1a1ca1f8be1cd88aa6ece55a25e6a887b
treebf44718b3d9a854ac5ee04c7232924b725c6eee2
parentf70656b2604eff12cea2e9bef27c1e00a3077f30
x86: Add POINTER_LOCAL_IFUNC_P/PLT_LOCAL_IFUNC_P

Add POINTER_LOCAL_IFUNC_P which returns TRUE for pointer reference to
local IFUNC symbol.  Add PLT_LOCAL_IFUNC_P which returns TRUE for PLT
reference to local IFUNC symbol.

* elfxx-x86.h (POINTER_LOCAL_IFUNC_P): New.
(PLT_LOCAL_IFUNC_P): Likewise.
* elf32-i386.c (elf_i386_relocate_section): Use them.
* elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
bfd/elfxx-x86.h
This page took 0.027127 seconds and 4 git commands to generate.