mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
19 lines
462 B
Makefile
19 lines
462 B
Makefile
#name: aarch64-farcall-bl-defsym
|
|
#source: farcall-bl-defsym.s
|
|
#as:
|
|
#ld: -Ttext 0x1000 --defsym=bar=0x8001000
|
|
#objdump: -dr
|
|
#...
|
|
|
|
Disassembly of section .text:
|
|
|
|
0000000000001000 <_start>:
|
|
+1000: 94000003 bl 100c <__bar_veneer>
|
|
+1004: d65f03c0 ret
|
|
[ \t]+1008:[ \t]+14000007[ \t]+b[ \t]+1024 <__bar_veneer\+0x18>
|
|
000000000000100c <__bar_veneer>:
|
|
100c: 90040010 adrp x16, 8001000 <bar>
|
|
1010: 91000210 add x16, x16, #0x0
|
|
1014: d61f0200 br x16
|
|
...
|