[PATCH v2][AArch64] Skip IFUNC relocations in debug sections

Szabolcs Nagy szabolcs.nagy@arm.com
Wed Aug 16 16:43:00 GMT 2017
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.

v2: __bfd_error_handler instead of abort.

OK for trunk and backport to 2.29 ?

bfd/
2017-08-16  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	PR ld/18808
	* elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Skip IFUNC
	relocations in debug sections, change abort to _bfd_error_handler.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ifunc3.diff
Type: text/x-patch
Size: 1496 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20170816/3db49fab/attachment.bin>


More information about the Binutils mailing list