mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
4c4ac9642a
2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com> ld/ * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)): Set address of .foo section when linking. * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc in .foo section. * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected output to the above changes.
23 lines
535 B
Makefile
23 lines
535 B
Makefile
.*: file format .*
|
|
|
|
Disassembly of section .text:
|
|
|
|
00001000 <_start>:
|
|
1000: f000 f802 bl 1008 <__myfunc_veneer>
|
|
1004: e7fe b.n 1004 <_start\+0x4>
|
|
\.\.\.
|
|
|
|
00001008 <__myfunc_veneer>:
|
|
1008: b401 push {r0}
|
|
100a: 4802 ldr r0, \[pc, #8\] ; \(1014 <__myfunc_veneer\+0xc>\)
|
|
100c: 4684 mov ip, r0
|
|
100e: bc01 pop {r0}
|
|
1010: 4760 bx ip
|
|
1012: bf00 nop
|
|
1014: 02001015 .word 0x02001015
|
|
|
|
Disassembly of section .foo:
|
|
|
|
02001014 <myfunc>:
|
|
2001014: 4770 bx lr
|