[AArch64] Skip IFUNC relocations in debug sections
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 17 Aug 2017 13:48:03 +0000 (14:48 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 17 Aug 2017 13:48:03 +0000 (14:48 +0100)
commit545bc2b377db80aa6edd0cf00cde6f963735f8d1
tree89e99808be23a54adbc6807f6782886deba5bb3a
parent12601963cf4de26be1db45ee58ac3e282936aca5
[AArch64] Skip IFUNC relocations in debug sections

Skip IFUNC relocations in debug sections ignored by ld.so.
Fixes the following ld test failures on aarch64:

FAIL: Build libpr18808.so
FAIL: Build libpr18808.so_2
FAIL: Run pr18808

aborting at bfd/elfnn-aarch64.c:4986 in elf64_aarch64_final_link_relocate.

bfd/
PR ld/18808
* elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Skip IFUNC
relocations in debug sections, change abort to _bfd_error_handler.
bfd/ChangeLog
bfd/elfnn-aarch64.c