Ensure 8-byte alignment for AArch64 stubs.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-aarch64 / farcall-bl-section.d
CommitLineData
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
8Disassembly of section .text:
9
10.* <_start>:
9a2ebffd
JW
11 1000: 9400000a bl 1028 <___veneer>
12 1004: 94000005 bl 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
22 1024: 00000000 .inst 0x00000000 ; undefined
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
30Disassembly of section .foo:
31
32.* <bar>:
33 8001000: d65f03c0 ret
34
35.* <bar2>:
36 8001004: d65f03c0 ret
This page took 0.170343 seconds and 4 git commands to generate.