1 #source: emit-relocs-morello-hidden.s
2 #target: [check_shared_lib_support]
3 #as: -march=morello+c64
5 #objdump: -DR -j .got -j .text
10 Disassembly of section \.text:
14 ([0-9a-f]*) <hidden_func>:
15 .*: 028043ff sub csp, csp, #0x10
16 .*: b9000fe0 str w0, \[csp, #12\]
17 .*: b9400fe0 ldr w0, \[csp, #12\]
18 .*: 020043ff add csp, csp, #0x10
21 Disassembly of section \.got:
27 #check: RELOC_ADDEND aarch64_required_func_addend $RELOC_BASE $HIDDEN_ADDR
28 .*: R_MORELLO_RELATIVE \*ABS\*\+0xRELOC_ADDEND
30 # Check that the bounds are anything except zero (rely on other tests to ensure
31 # that the PCC bounds calculation is correct).