summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-size/size64-1.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-size/size64-1.s')
-rw-r--r--ld/testsuite/ld-size/size64-1.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-size/size64-1.s b/ld/testsuite/ld-size/size64-1.s
new file mode 100644
index 0000000..25672b5
--- /dev/null
+++ b/ld/testsuite/ld-size/size64-1.s
@@ -0,0 +1,14 @@
+# 64-bit size relocation in shared object
+ .comm xxx,40,32
+ .data
+ .p2align 2
+ .quad xxx@SIZE
+ .quad xxx@SIZE-30
+ .quad xxx@SIZE+30
+ .quad yyy@SIZE
+ .quad zzz@SIZE
+ .globl yyy
+ .type yyy, %object
+ .size yyy, 40
+yyy:
+ .zero 40