aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/arm-app-movw.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/arm-app-movw.s')
-rw-r--r--ld/testsuite/ld-arm/arm-app-movw.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/arm-app-movw.s b/ld/testsuite/ld-arm/arm-app-movw.s
new file mode 100644
index 0000000..55ced97
--- /dev/null
+++ b/ld/testsuite/ld-arm/arm-app-movw.s
@@ -0,0 +1,11 @@
+ .text
+ .globl _start
+_start:
+ movw r0, #:lower16:data_obj
+ movt r0, #:upper16:data_obj
+ movw r0, #:lower16:lib_func1
+ movt r0, #:upper16:lib_func1
+
+ .globl app_func2
+app_func2:
+ bx lr