binutils-gdb/ld/testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d
Christophe Lyon d3626fb08b 2009-04-02 Christophe Lyon <christophe.lyon@st.com>
bfd/
	* elf32-arm.c (elf32_arm_stub_long_branch_v4t_thumb_thumb,
	elf32_arm_stub_long_branch_v4t_thumb_thumb_pic): Two new long
	branch stubs.
	(elf32_arm_stub_type): New enum values for the two new stubs.
	(arm_type_of_stub): Make use of the two new stubs.
	(arm_size_one_stub): Handle the two new stubs.

	testsuite/
	* ld-arm/farcall-thumb-thumb-pic-veneer.d: Update expected
	results.
	* ld-arm/farcall-thumb-thumb.d: Likewise.
2009-04-02 14:12:46 +00:00

23 lines
531 B
Makefile

.*: file format .*
Disassembly of section .text:
00001000 <_start>:
1000: f000 f802 bl 1008 <__bar_veneer>
1004: 0000 lsls r0, r0, #0
...
00001008 <__bar_veneer>:
1008: 4778 bx pc
100a: 46c0 nop \(mov r8, r8\)
100c: e59fc004 ldr ip, \[pc, #4\] ; 1018 <__bar_veneer\+0x10>
1010: e08fc00c add ip, pc, ip
1014: e12fff1c bx ip
1018: 01fffffd .word 0x01fffffd
101c: 00000000 .word 0x00000000
Disassembly of section .foo:
02001014 <bar>:
2001014: 4770 bx lr