]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-aarch64/farcall-b-section.d
AArch64: add GAS support for UDF instruction
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-aarch64 / farcall-b-section.d
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>:
11 1000: 1400000a b 1028 <___veneer>
12 1004: 14000005 b 1018 <___veneer>
13 1008: d65f03c0 ret
14 100c: d503201f nop
15 1010: 1400000e b 1048 <___veneer\+0x20>
16 1014: d503201f nop
17
18 .* <___veneer>:
19 1018: 90040010 adrp x16, 8001000 <bar>
20 101c: 91001210 add x16, x16, #0x4
21 1020: d61f0200 br x16
22 1024: 00000000 udf #0
23
24 .* <___veneer>:
25 1028: 90040010 adrp x16, 8001000 <bar>
26 102c: 91000210 add x16, x16, #0x0
27 1030: d61f0200 br x16
28 ...
29
30 Disassembly of section .foo:
31
32 .* <bar>:
33 8001000: d65f03c0 ret
34
35 .* <bar2>:
36 8001004: d65f03c0 ret