mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
2b70b1b838
In order to get the ifunc relocs properly sorted the correct class needs to be returned. The code mimics what has been done for AArch64. Fixes: FAIL: Run pr18841 with libpr18841b.so FAIL: Run pr18841 with libpr18841c.so FAIL: Run pr18841 with libpr18841bn.so (-z now) FAIL: Run pr18841 with libpr18841cn.so (-z now) bfd/ PR ld/18841 * elf32-arm.c (elf32_arm_reloc_type_class): Return reloc_class_ifunc for ifunc symbols. ld/testsuite/ * ld-arm/ifunc-12.rd: Update relocations order. * ld-arm/ifunc-3.rd: Likewise. * ld-arm/ifunc-4.rd: Likewise.
20 lines
788 B
R
20 lines
788 B
R
|
|
Relocation section '\.rel\.dyn' at offset 0x8000 contains 16 entries:
|
|
Offset Info Type Sym\.Value Sym\. Name
|
|
0001001c ......17 R_ARM_RELATIVE
|
|
00010020 ......17 R_ARM_RELATIVE
|
|
0001100c ......17 R_ARM_RELATIVE
|
|
00011018 ......17 R_ARM_RELATIVE
|
|
00010004 ......a0 R_ARM_IRELATIVE
|
|
0001000c ......a0 R_ARM_IRELATIVE
|
|
00010010 ......a0 R_ARM_IRELATIVE
|
|
00010018 ......a0 R_ARM_IRELATIVE
|
|
00011010 ......a0 R_ARM_IRELATIVE
|
|
00011014 ......a0 R_ARM_IRELATIVE
|
|
00011020 ......a0 R_ARM_IRELATIVE
|
|
00011028 ......a0 R_ARM_IRELATIVE
|
|
00010008 ......02 R_ARM_ABS32 f2\(\) f2
|
|
00011024 ......15 R_ARM_GLOB_DAT f2\(\) f2
|
|
00010014 ......02 R_ARM_ABS32 f2t\(\) f2t
|
|
0001101c ......15 R_ARM_GLOB_DAT f2t\(\) f2t
|