aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-s390/pr32969a.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-s390/pr32969a.s')
-rw-r--r--ld/testsuite/ld-s390/pr32969a.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-s390/pr32969a.s b/ld/testsuite/ld-s390/pr32969a.s
new file mode 100644
index 0000000..baee6ca
--- /dev/null
+++ b/ld/testsuite/ld-s390/pr32969a.s
@@ -0,0 +1,14 @@
+ .text
+ .globl _start
+ .type _start,@function
+_start:
+ lgrl %r1,foo@GOTENT
+ lgrl %r1,bar@GOTENT
+
+ .section .rodata,"a",@progbits
+ .align 1
+ .globl foo
+ .type foo,@object
+foo:
+ .byte 0xa
+ .size foo, .-foo