[AArch64] Fix PR18841 ifunc relocation ordering
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 4 Jul 2017 14:43:59 +0000 (15:43 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 19 Jul 2017 17:47:22 +0000 (18:47 +0100)
commitf2e6a8430e72d58e70aaaaefbb32dc3953d5cf33
tree7664b9a14de92a4b907cfad315b0e0e399ed12dd
parent6c4e7b6bfbc4679f695106de2817ecf02b27c8be
[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.
bfd/ChangeLog
bfd/elfnn-aarch64.c