]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-aarch64/emit-relocs-morello-hidden.d
9bac38de22516bc2f1679745df483a16a93c0728
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-aarch64 / emit-relocs-morello-hidden.d
1 #source: emit-relocs-morello-hidden.s
2 #as: -march=morello+c64
3 #ld: -shared
4 #objdump: -DR -j .got -j .text
5
6 .*: file format .*
7
8
9 Disassembly of section \.text:
10
11 #record: HIDDEN_ADDR
12 #...
13 ([0-9a-f]*) <hidden_func>:
14 .*: 028043ff sub csp, csp, #0x10
15 .*: b9000fe0 str w0, \[csp, #12\]
16 .*: b9400fe0 ldr w0, \[csp, #12\]
17 .*: 020043ff add csp, csp, #0x10
18 .*: c2c253c0 ret c30
19
20 Disassembly of section \.got:
21
22 #...
23 \.\.\.
24 #record: RELOC_BASE
25 .*: ([0-9a-f]{8}) .*
26 #check: RELOC_ADDEND aarch64_required_func_addend $RELOC_BASE $HIDDEN_ADDR
27 .*: R_MORELLO_RELATIVE \*ABS\*\+0xRELOC_ADDEND
28 .*: 00000000 .*
29 # Check that the bounds are anything except zero (rely on other tests to ensure
30 # that the PCC bounds calculation is correct).
31 ! .*: 00000000 .*
32 .*: 04000000 .*
33