aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/x86_64_ie_to_le.s
diff options
context:
space:
mode:
Diffstat (limited to 'gold/testsuite/x86_64_ie_to_le.s')
-rw-r--r--gold/testsuite/x86_64_ie_to_le.s17
1 files changed, 17 insertions, 0 deletions
diff --git a/gold/testsuite/x86_64_ie_to_le.s b/gold/testsuite/x86_64_ie_to_le.s
new file mode 100644
index 0000000..c575206
--- /dev/null
+++ b/gold/testsuite/x86_64_ie_to_le.s
@@ -0,0 +1,17 @@
+ .text
+ .p2align 4
+ .globl _start
+ .type _start, @function
+_start:
+ addq foo@gottpoff(%rip), %r12
+ movq foo@gottpoff(%rip), %rax
+ addq foo@gottpoff(%rip), %r16
+ movq foo@gottpoff(%rip), %r20
+ .size _start, .-_start
+ .section .tdata,"awT",@progbits
+ .align 4
+ .type foo, @object
+ .size foo, 4
+foo:
+ .long 30
+ .section .note.GNU-stack,"",@progbits