diff options
Diffstat (limited to 'ld/testsuite/ld-aarch64/relasz.s')
-rw-r--r-- | ld/testsuite/ld-aarch64/relasz.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/relasz.s b/ld/testsuite/ld-aarch64/relasz.s new file mode 100644 index 0000000..8c7f891 --- /dev/null +++ b/ld/testsuite/ld-aarch64/relasz.s @@ -0,0 +1,9 @@ + .text + .global func + .type func, %function +func: + adrp x0, :got:foo + ldr x0, [x0, #:got_lo12:foo] + ldr w0, [x0] + ret + .size func, .-func |