Commit | Line | Data |
---|---|---|
2f340668 JW |
1 | #name: aarch64-farcall-bl-section |
2 | #source: farcall-bl-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>: | |
11 | 1000: 94000008 bl 1020 <___veneer> | |
12 | 1004: 94000003 bl 1010 <___veneer> | |
13 | 1008: d65f03c0 ret | |
14 | 100c: 1400000d b 1040 <___veneer\+0x20> | |
15 | ||
16 | .* <___veneer>: | |
17 | 1010: 90040010 adrp x16, 8001000 <bar> | |
18 | 1014: 91001210 add x16, x16, #0x4 | |
19 | 1018: d61f0200 br x16 | |
20 | 101c: 00000000 .inst 0x00000000 ; undefined | |
21 | ||
22 | .* <___veneer>: | |
23 | 1020: 90040010 adrp x16, 8001000 <bar> | |
24 | 1024: 91000210 add x16, x16, #0x0 | |
25 | 1028: d61f0200 br x16 | |
26 | ... | |
27 | ||
28 | Disassembly of section .foo: | |
29 | ||
30 | .* <bar>: | |
31 | 8001000: d65f03c0 ret | |
32 | ||
33 | .* <bar2>: | |
34 | 8001004: d65f03c0 ret |