+2016-01-08 Richard Sandiford <richard.sandiford@arm.com>
+ Jiong Wang <jiong.wang@arm.com>
+
+ PR ld/19368
+ * elf32-arm.c (elf32_arm_reloc_type_class): Map R_ARM_IRELATIVE to
+ reloc_class_ifunc.
+
2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
* elf32-arc.c (reloc_type_to_name): Change ARC_RELOC_HOWTO to
return reloc_class_plt;
case R_ARM_COPY:
return reloc_class_copy;
+ case R_ARM_IRELATIVE:
+ return reloc_class_ifunc;
default:
return reloc_class_normal;
}
+2016-01-08 Jiong Wang <jiong.wang@arm.com>
+
+ PR ld/19368
+ * testsuite/ld-arm/ifunc-3.rd: Update expected result.
+ * testsuite/ld-arm/ifunc-4.rd: Likewise.
+ * testsuite/ld-arm/ifunc-9.rd: Likewise.
+ * testsuite/ld-arm/ifunc-10.rd: Likewise.
+ * testsuite/ld-arm/ifunc-12.rd: Likewise.
+ * testsuite/ld-arm/ifunc-13.rd: Likewise.
+
2016-01-05 Nick Clifton <nickc@redhat.com>
* emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
Relocation section '\.rel\.dyn' at offset 0x8000 contains 24 entries:
Offset Info Type Sym\.Value Sym\. Name
-0001103c ......a0 R_ARM_IRELATIVE
-00011040 ......a0 R_ARM_IRELATIVE
-00011044 ......a0 R_ARM_IRELATIVE
-00011048 ......a0 R_ARM_IRELATIVE
-0001104c ......a0 R_ARM_IRELATIVE
-00011050 ......a0 R_ARM_IRELATIVE
-00011054 ......a0 R_ARM_IRELATIVE
-00011058 ......a0 R_ARM_IRELATIVE
-0001105c ......a0 R_ARM_IRELATIVE
-00011060 ......a0 R_ARM_IRELATIVE
-00011064 ......a0 R_ARM_IRELATIVE
-00011068 ......a0 R_ARM_IRELATIVE
0001108c ......15 R_ARM_GLOB_DAT 00009018 atf2
00011090 ......15 R_ARM_GLOB_DAT 00009024 aaf4
00011094 ......15 R_ARM_GLOB_DAT 00009034 ttf2
000110c8 ......15 R_ARM_GLOB_DAT 0000909c atf4
000110cc ......15 R_ARM_GLOB_DAT 000090a8 taf4
000110d0 ......15 R_ARM_GLOB_DAT 000090b8 abf2
+0001103c ......a0 R_ARM_IRELATIVE
+00011040 ......a0 R_ARM_IRELATIVE
+00011044 ......a0 R_ARM_IRELATIVE
+00011048 ......a0 R_ARM_IRELATIVE
+0001104c ......a0 R_ARM_IRELATIVE
+00011050 ......a0 R_ARM_IRELATIVE
+00011054 ......a0 R_ARM_IRELATIVE
+00011058 ......a0 R_ARM_IRELATIVE
+0001105c ......a0 R_ARM_IRELATIVE
+00011060 ......a0 R_ARM_IRELATIVE
+00011064 ......a0 R_ARM_IRELATIVE
+00011068 ......a0 R_ARM_IRELATIVE
Relocation section '\.rel\.plt' at offset 0x80c0 contains 12 entries:
Offset Info Type Sym\.Value Sym\. Name
00010020 ......17 R_ARM_RELATIVE
0001100c ......17 R_ARM_RELATIVE
00011018 ......17 R_ARM_RELATIVE
+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
00010004 ......a0 R_ARM_IRELATIVE
0001000c ......a0 R_ARM_IRELATIVE
00010010 ......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
Relocation section '\.rel\.dyn' at offset 0x8000 contains 6 entries:
Offset Info Type Sym\.Value Sym\. Name
+0001101c ......15 R_ARM_GLOB_DAT 00000000 f2t
+00011024 ......15 R_ARM_GLOB_DAT 00000000 f2
00011010 ......a0 R_ARM_IRELATIVE
00011014 ......a0 R_ARM_IRELATIVE
00011020 ......a0 R_ARM_IRELATIVE
00011028 ......a0 R_ARM_IRELATIVE
-0001101c ......15 R_ARM_GLOB_DAT 00000000 f2t
-00011024 ......15 R_ARM_GLOB_DAT 00000000 f2
00010004 ......17 R_ARM_RELATIVE
0001101c ......17 R_ARM_RELATIVE
00011020 ......17 R_ARM_RELATIVE
-0001000c ......a0 R_ARM_IRELATIVE
-0001001c ......a0 R_ARM_IRELATIVE
-00011010 ......a0 R_ARM_IRELATIVE
-00011014 ......a0 R_ARM_IRELATIVE
-00011018 ......a0 R_ARM_IRELATIVE
00010014 ......02 R_ARM_ABS32 f2\(\) f2
00010018 ......03 R_ARM_REL32 f2\(\) f2
00011024 ......15 R_ARM_GLOB_DAT f2\(\) f2
00010024 ......02 R_ARM_ABS32 f4\(\) f4
00011028 ......15 R_ARM_GLOB_DAT f4\(\) f4
+0001000c ......a0 R_ARM_IRELATIVE
+0001001c ......a0 R_ARM_IRELATIVE
+00011010 ......a0 R_ARM_IRELATIVE
+00011014 ......a0 R_ARM_IRELATIVE
+00011018 ......a0 R_ARM_IRELATIVE
Relocation section '\.rel\.plt' at offset 0x8068 contains 1 entries:
Offset Info Type Sym\.Value Sym\. Name
Offset Info Type Sym\.Value Sym\. Name
0001106c ......17 R_ARM_RELATIVE
00011070 ......17 R_ARM_RELATIVE
-00010004 ......a0 R_ARM_IRELATIVE
-0001000c ......a0 R_ARM_IRELATIVE
-00010014 ......a0 R_ARM_IRELATIVE
-0001001c ......a0 R_ARM_IRELATIVE
-00010024 ......a0 R_ARM_IRELATIVE
-0001002c ......a0 R_ARM_IRELATIVE
-00010064 ......a0 R_ARM_IRELATIVE
-0001006c ......a0 R_ARM_IRELATIVE
-00010074 ......a0 R_ARM_IRELATIVE
-0001007c ......a0 R_ARM_IRELATIVE
-00010084 ......a0 R_ARM_IRELATIVE
-0001008c ......a0 R_ARM_IRELATIVE
-00011024 ......a0 R_ARM_IRELATIVE
-00011028 ......a0 R_ARM_IRELATIVE
-0001102c ......a0 R_ARM_IRELATIVE
-00011030 ......a0 R_ARM_IRELATIVE
-00011034 ......a0 R_ARM_IRELATIVE
-00011038 ......a0 R_ARM_IRELATIVE
-0001103c ......a0 R_ARM_IRELATIVE
-00011040 ......a0 R_ARM_IRELATIVE
-00011044 ......a0 R_ARM_IRELATIVE
-00011048 ......a0 R_ARM_IRELATIVE
-0001104c ......a0 R_ARM_IRELATIVE
-00011050 ......a0 R_ARM_IRELATIVE
-00011054 ......a0 R_ARM_IRELATIVE
-00011058 ......a0 R_ARM_IRELATIVE
-0001105c ......a0 R_ARM_IRELATIVE
-00011060 ......a0 R_ARM_IRELATIVE
-00011064 ......a0 R_ARM_IRELATIVE
-00011068 ......a0 R_ARM_IRELATIVE
00010034 ......02 R_ARM_ABS32 aaf2\(\) aaf2
00010038 ......03 R_ARM_REL32 aaf2\(\) aaf2
00011088 ......15 R_ARM_GLOB_DAT aaf2\(\) aaf2
00011094 ......15 R_ARM_GLOB_DAT ttf4\(\) ttf4
000100bc ......02 R_ARM_ABS32 tbf4\(\) tbf4
00011090 ......15 R_ARM_GLOB_DAT tbf4\(\) tbf4
+00010004 ......a0 R_ARM_IRELATIVE
+0001000c ......a0 R_ARM_IRELATIVE
+00010014 ......a0 R_ARM_IRELATIVE
+0001001c ......a0 R_ARM_IRELATIVE
+00010024 ......a0 R_ARM_IRELATIVE
+0001002c ......a0 R_ARM_IRELATIVE
+00010064 ......a0 R_ARM_IRELATIVE
+0001006c ......a0 R_ARM_IRELATIVE
+00010074 ......a0 R_ARM_IRELATIVE
+0001007c ......a0 R_ARM_IRELATIVE
+00010084 ......a0 R_ARM_IRELATIVE
+0001008c ......a0 R_ARM_IRELATIVE
+00011024 ......a0 R_ARM_IRELATIVE
+00011028 ......a0 R_ARM_IRELATIVE
+0001102c ......a0 R_ARM_IRELATIVE
+00011030 ......a0 R_ARM_IRELATIVE
+00011034 ......a0 R_ARM_IRELATIVE
+00011038 ......a0 R_ARM_IRELATIVE
+0001103c ......a0 R_ARM_IRELATIVE
+00011040 ......a0 R_ARM_IRELATIVE
+00011044 ......a0 R_ARM_IRELATIVE
+00011048 ......a0 R_ARM_IRELATIVE
+0001104c ......a0 R_ARM_IRELATIVE
+00011050 ......a0 R_ARM_IRELATIVE
+00011054 ......a0 R_ARM_IRELATIVE
+00011058 ......a0 R_ARM_IRELATIVE
+0001105c ......a0 R_ARM_IRELATIVE
+00011060 ......a0 R_ARM_IRELATIVE
+00011064 ......a0 R_ARM_IRELATIVE
+00011068 ......a0 R_ARM_IRELATIVE
Relocation section '\.rel\.plt' at offset 0x81f0 contains 6 entries:
Offset Info Type Sym\.Value Sym\. Name
Relocation section '\.rel\.dyn' at offset 0x8000 contains 3 entries:
Offset Info Type Sym\.Value Sym\. Name
+00011028 ......15 R_ARM_GLOB_DAT 00009014 f2
00011010 ......a0 R_ARM_IRELATIVE
00011014 ......a0 R_ARM_IRELATIVE
-00011028 ......15 R_ARM_GLOB_DAT 00009014 f2
Relocation section '\.rel\.plt' at offset 0x8018 contains 1 entries:
Offset Info Type Sym\.Value Sym\. Name