summaryrefslogtreecommitdiffstats
path: root/binutils-2.24/ld/testsuite/ld-arm/movw-merge.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.24/ld/testsuite/ld-arm/movw-merge.s')
-rw-r--r--binutils-2.24/ld/testsuite/ld-arm/movw-merge.s20
1 files changed, 20 insertions, 0 deletions
diff --git a/binutils-2.24/ld/testsuite/ld-arm/movw-merge.s b/binutils-2.24/ld/testsuite/ld-arm/movw-merge.s
new file mode 100644
index 0000000..17c70a5
--- /dev/null
+++ b/binutils-2.24/ld/testsuite/ld-arm/movw-merge.s
@@ -0,0 +1,20 @@
+ .arch armv7-a
+ .syntax unified
+ .text
+ .global _start
+ .type _start, %function
+_start:
+ movw r0, #:lower16:.LC0
+ movt r0, #:upper16:.LC0
+ .thumb
+ .global tfunc
+ .type tfunc, %function
+tfunc:
+ movw r0, #:lower16:.LC0
+ movt r0, #:upper16:.LC0
+
+ .section .rodata.str1.4,"aMS",%progbits,1
+ .align 2
+ .ascii "pad"
+.LC0:
+ .ascii "inner: cont \000"