old-cross-binutils/ld/testsuite/ld-arm/ifunc-17.dd
Will Newton aba8c3de87 bfd/efl32-arm.c: Fix handling of IRELATIVE relocs.
bfd/ChangeLog:

2013-04-24  Will Newton  <will.newton@linaro.org>

	* elf32-arm.c (elf32_arm_populate_plt_entry): Call
	elf32_arm_add_dynreloc when emitting R_ARM_IRELATIVE relocs.

ld/testsuite/ChangeLog:

2013-04-24  Will Newton  <will.newton@linaro.org>

	* ld-arm/arm-elf.exp: Add IFUNC test 17.
	* ld-arm/ifunc-17.dd: New file.
	* ld-arm/ifunc-17.gd: Likewise.
	* ld-arm/ifunc-17.rd: Likewise.
	* ld-arm/ifunc-17.s: Likweise.
	* ld-arm/ifunc-1.rd: Reorder relocs to match linker output.
	* ld-arm/ifunc-2.rd: Likewise.
	* ld-arm/ifunc-5.rd: Likewise.
	* ld-arm/ifunc-6.rd: Likewise.
2013-04-29 09:48:32 +00:00

25 lines
618 B
Text

.*
Disassembly of section \.iplt:
00008084 <.iplt>:
#------------------------------------------------------------------------------
#------ appfunc1's .iplt entry
#------------------------------------------------------------------------------
8084: e28fc600 add ip, pc, #0, 12
8088: e28cca08 add ip, ip, #8, 20 ; 0x8000
808c: e5bcf01c ldr pc, \[ip, #28\]!
Disassembly of section \.text:
00008090 <appfunc1>:
8090: 46f7 mov pc, lr
00008092 <appfunc2>:
8092: 46f7 mov pc, lr
00008094 <_start>:
8094: f7ff eff6 blx 8084 <appfunc1-0xc>
8098: 00000010 \.word 0x00000010