old-cross-binutils/ld/testsuite/ld-arm/farcall-arm-thumb-blx-pic-veneer.d
Daniel Jacobowitz cf3eccff18 bfd/
* elf32-arm.c (elf32_arm_stub_long_branch_any_any_pic): Rename
	to elf32_arm_stub_long_branch_any_arm_pic.
	(elf32_arm_stub_long_branch_any_thumb_pic): New.
	(enum elf32_arm_stub_type, arm_type_of_stub)
	(arm_size_one_stub): Handle any to ARM PIC and any to Thumb PIC
	separately.

	ld/testsuite/
	* ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
	ld-arm/farcall-arm-thumb-pic-veneer.d,
	ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Update for fixed
	Thumb PIC stub.
2009-02-24 22:44:18 +00:00

17 lines
423 B
Makefile

.*: file format .*
Disassembly of section .text:
00001000 <_start>:
1000: eb000000 bl 1008 <__bar_from_arm>
1004: 00000000 andeq r0, r0, r0
00001008 <__bar_from_arm>:
1008: e59fc004 ldr ip, \[pc, #4\] ; 1014 <__bar_from_arm\+0xc>
100c: e08fc00c add ip, pc, ip
1010: e12fff1c bx ip
1014: 02000001 .word 0x02000001
Disassembly of section .foo:
02001014 <bar>:
2001014: 4770 bx lr