aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/main.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/main.s')
-rw-r--r--ld/testsuite/ld-arm/main.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/main.s b/ld/testsuite/ld-arm/main.s
new file mode 100644
index 0000000..046d19d
--- /dev/null
+++ b/ld/testsuite/ld-arm/main.s
@@ -0,0 +1,8 @@
+ .text
+ .globl _start
+ .type _start, %function
+_start:
+ str lr, [sp, #-4]!
+ bl hidfn(PLT)
+ ldmfd sp!, {pc}
+ .size _start, . - _start