1 #source: emit-relocs-morello-hidden.s
2 #as: -march=morello+c64
4 #objdump: -DR -j .got -j .text
9 Disassembly of section \.text:
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
20 Disassembly of section \.got:
26 #check: RELOC_ADDEND aarch64_required_func_addend $RELOC_BASE $HIDDEN_ADDR
27 .*: R_MORELLO_RELATIVE \*ABS\*\+0xRELOC_ADDEND
29 # Check that the bounds are anything except zero (rely on other tests to ensure
30 # that the PCC bounds calculation is correct).