Call _bfd_elf_create_ifunc_sections only for ifunc
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 20 Apr 2016 12:34:02 +0000 (05:34 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 20 Apr 2016 12:34:15 +0000 (05:34 -0700)
commit466ee2af4a927fc6aaaaa62b0abd3b0cff9bcef7
treefd1b6f03bb7bbee3d8be51584755205fb7f71af2
parentd968975277ba280372002800c6c25bb1b29f496e
Call _bfd_elf_create_ifunc_sections only for ifunc

Since x86 check_relocs is called after opening all input files, we
need to call _bfd_elf_create_ifunc_sections only for STT_GNU_IFUNC
symbols.

* elf32-i386.c (elf_i386_check_relocs): Call
_bfd_elf_create_ifunc_sections only for STT_GNU_IFUNC symbol.
* elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
This page took 0.033989 seconds and 4 git commands to generate.