aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/unique1.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/unique1.s')
-rw-r--r--ld/testsuite/ld-x86-64/unique1.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/unique1.s b/ld/testsuite/ld-x86-64/unique1.s
new file mode 100644
index 0000000..3def1b3
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/unique1.s
@@ -0,0 +1,9 @@
+ .text
+foo:
+ movq bar@GOTPCREL(%rip), %rbp
+ .weak bar
+ .data
+ .type bar, @gnu_unique_object
+ .size bar, 8
+bar:
+ .quad 8