aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr22393-1.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/pr22393-1.s')
-rw-r--r--ld/testsuite/ld-elf/pr22393-1.s21
1 files changed, 21 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr22393-1.s b/ld/testsuite/ld-elf/pr22393-1.s
new file mode 100644
index 0000000..ffdb620
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr22393-1.s
@@ -0,0 +1,21 @@
+ .section .rodata,"a",%progbits
+ .globl fx1
+ .type fx1, %object
+fx1:
+ .zero 20
+ .section .data.rel.ro,"aw",%progbits
+ .globl px1
+ .type px1, %object
+px1:
+ .dc.a fx1
+
+ .text
+ .global start /* Used by SH targets. */
+start:
+ .global _start
+_start:
+ .global __start
+__start:
+ .global main /* Used by HPPA targets. */
+main:
+ .dc.a 0