This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] [AArch64] Fix PR18841 ifunc relocation ordering
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 19 Jul 2017 14:11:04 -0400
- Subject: [binutils-gdb] [AArch64] Fix PR18841 ifunc relocation ordering
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT f2e6a8430e72d58e70aaaaefbb32dc3953d5cf33 ***
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: f2e6a8430e72d58e70aaaaefbb32dc3953d5cf33
[AArch64] Fix PR18841 ifunc relocation ordering
In order to get the ifunc relocs properly sorted the correct class
needs to be returned. The code mimics what has been done for x86.
Fixes
FAIL: Run pr18841 with libpr18841c.so
bfd/
PR ld/18841
* elfnn-aarch64.c (elfNN_aarch64_reloc_type_class): Return
reloc_class_ifunc for ifunc symbols.