summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/unwind-2.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/unwind-2.s')
-rw-r--r--ld/testsuite/ld-arm/unwind-2.s19
1 files changed, 19 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/unwind-2.s b/ld/testsuite/ld-arm/unwind-2.s
new file mode 100644
index 0000000..cd5851c
--- /dev/null
+++ b/ld/testsuite/ld-arm/unwind-2.s
@@ -0,0 +1,19 @@
+ .syntax unified
+ .text
+
+ .global __aeabi_unwind_cpp_pr0
+ .type __aeabi_unwind_cpp_pr0, %function
+__aeabi_unwind_cpp_pr0:
+ .global _start
+ .type _start, %function
+_start:
+ .fnstart
+ .save {r4, lr}
+ bx lr
+ .fnend
+
+ @ last text section has unwind information. Linker should append a
+ @ terminating cantunwind entry.
+
+ .section .far
+ .word 0