aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pru/emit-relocs-1a.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-pru/emit-relocs-1a.s')
-rw-r--r--ld/testsuite/ld-pru/emit-relocs-1a.s24
1 files changed, 24 insertions, 0 deletions
diff --git a/ld/testsuite/ld-pru/emit-relocs-1a.s b/ld/testsuite/ld-pru/emit-relocs-1a.s
new file mode 100644
index 0000000..bf0a8a1
--- /dev/null
+++ b/ld/testsuite/ld-pru/emit-relocs-1a.s
@@ -0,0 +1,24 @@
+ .text
+ .align 4
+ .globl _start
+_start:
+ nop
+
+ .section .merge1,"aMS",@progbits,1
+A: .string "utter"
+
+ .section .merge2,"aMS",@progbits,1
+B: .string "tasting"
+
+ .section .merge3,"aM",@progbits,4
+C: .4byte 0x100
+D: .4byte 0x200
+
+ .data
+ .align 4
+E: .4byte E
+ .4byte E + 0x1000
+ .4byte A
+ .4byte B
+ .4byte C
+ .4byte D