Check R_*_IRELATIVE in x86 reloc_type_class
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 14 Jun 2016 17:18:26 +0000 (10:18 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 14 Jun 2016 17:18:26 +0000 (10:18 -0700)
commitc428ce9d900c4acc4a7ee74791c55676d96f0818
treef77e647801adfd85b194c879826da7ef08fb7ae2
parent897463b12ba936df7d2070755eaac94f87fcedfb
Check R_*_IRELATIVE in x86 reloc_type_class

elf_{i386|x86_64}_reloc_type_class should return reloc_class_ifunc for
R_386_IRELATIVE/R_X86_64_IRELATIVE relocations.  There is no need to
check symbol type for STN_UNDEF symbol index.

* elf32-i386.c (elf_i386_reloc_type_class): Check R_386_IRELATIVE.
Don't check symbol type for STN_UNDEF symbol index.
* elf64-x86-64.c (elf_x86_64_reloc_type_class): Check
R_X86_64_IRELATIVE.  Don't check symbol type for STN_UNDEF symbol
index.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
This page took 0.024392 seconds and 4 git commands to generate.