diff options
Diffstat (limited to 'ld/testsuite/ld-x86-64/mov2.s')
-rw-r--r-- | ld/testsuite/ld-x86-64/mov2.s | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/mov2.s b/ld/testsuite/ld-x86-64/mov2.s new file mode 100644 index 0000000..95e474f --- /dev/null +++ b/ld/testsuite/ld-x86-64/mov2.s @@ -0,0 +1,15 @@ + .section my_section,"aw",@progbits + .long 0x12345678 + .text + .globl foo + .type foo, @function +foo: + ret + .size foo, .-foo + .globl _start + .type _start, @function +_start: + movq foo@GOTPCREL+1(%rip), %rax + movq __start_my_section@GOTPCREL+1(%rip), %rax + movq __stop_my_section@GOTPCREL+1(%rip), %rax + .size _start, .-_start |