summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr19645.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr19645.s')
-rw-r--r--ld/testsuite/ld-x86-64/pr19645.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr19645.s b/ld/testsuite/ld-x86-64/pr19645.s
new file mode 100644
index 00000000000..88331ed5d3c
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/pr19645.s
@@ -0,0 +1,6 @@
+ .text
+ .global bar
+ .type bar,"function"
+bar:
+ movq foobar@GOTPCREL(%rip), %rax
+ .comm foobar,30,4