]>
Commit | Line | Data |
---|---|---|
2f340668 JW |
1 | #name: aarch64-farcall-b-section |
2 | #source: farcall-b-section.s | |
3 | #as: | |
4 | #ld: -Ttext 0x1000 --section-start .foo=0x8001000 | |
5 | #objdump: -dr | |
6 | #... | |
7 | ||
8 | Disassembly of section .text: | |
9 | ||
10 | .* <_start>: | |
9a2ebffd JW |
11 | 1000: 1400000a b 1028 <___veneer> |
12 | 1004: 14000005 b 1018 <___veneer> | |
2f340668 | 13 | 1008: d65f03c0 ret |
9a2ebffd JW |
14 | 100c: d503201f nop |
15 | 1010: 1400000e b 1048 <___veneer\+0x20> | |
16 | 1014: d503201f nop | |
2f340668 JW |
17 | |
18 | .* <___veneer>: | |
9a2ebffd JW |
19 | 1018: 90040010 adrp x16, 8001000 <bar> |
20 | 101c: 91001210 add x16, x16, #0x4 | |
21 | 1020: d61f0200 br x16 | |
09c1e68a | 22 | 1024: 00000000 udf #0 |
2f340668 JW |
23 | |
24 | .* <___veneer>: | |
9a2ebffd JW |
25 | 1028: 90040010 adrp x16, 8001000 <bar> |
26 | 102c: 91000210 add x16, x16, #0x0 | |
27 | 1030: d61f0200 br x16 | |
2f340668 JW |
28 | ... |
29 | ||
30 | Disassembly of section .foo: | |
31 | ||
32 | .* <bar>: | |
33 | 8001000: d65f03c0 ret | |
34 | ||
35 | .* <bar2>: | |
36 | 8001004: d65f03c0 ret |