diff options
Diffstat (limited to 'binutils-2.25/ld/testsuite/ld-aarch64/emit-relocs-local-addend-bar.s')
-rw-r--r-- | binutils-2.25/ld/testsuite/ld-aarch64/emit-relocs-local-addend-bar.s | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/binutils-2.25/ld/testsuite/ld-aarch64/emit-relocs-local-addend-bar.s b/binutils-2.25/ld/testsuite/ld-aarch64/emit-relocs-local-addend-bar.s new file mode 100644 index 00000000..ab8b0fbd --- /dev/null +++ b/binutils-2.25/ld/testsuite/ld-aarch64/emit-relocs-local-addend-bar.s @@ -0,0 +1,19 @@ + .global b + .section .rodata + .align 3 +.LC0: + .string "bar" + .align 3 + .type b, %object + .size b, 8 +b: + .xword .LC0 + .text + .align 2 + .global bar + .type bar, %function +bar: + adrp x0, .LC0 + add x0, x0, :lo12:.LC0 + ret + .size bar, .-bar |