diff options
Diffstat (limited to 'ld/testsuite/ld-x86-64/lea1.s')
-rw-r--r-- | ld/testsuite/ld-x86-64/lea1.s | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/lea1.s b/ld/testsuite/ld-x86-64/lea1.s new file mode 100644 index 0000000..4dce487 --- /dev/null +++ b/ld/testsuite/ld-x86-64/lea1.s @@ -0,0 +1,11 @@ + .text + .globl foo + .type foo, @function +foo: + ret + .size foo, .-foo + .globl _start + .type _start, @function +_start: + movq foo@GOTPCREL(%rip), %rax + .size _start, .-_start |