]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-arm/unwind-1.s
Imported binutils-2.20
[msp430-binutils.git] / ld / testsuite / ld-arm / unwind-1.s
diff --git a/ld/testsuite/ld-arm/unwind-1.s b/ld/testsuite/ld-arm/unwind-1.s
new file mode 100644 (file)
index 0000000..a4eb390
--- /dev/null
@@ -0,0 +1,19 @@
+       .syntax unified
+       .text
+       .global _start
+       .type _start, %function
+_start:
+       .fnstart
+       .save {r4, lr}
+       bx lr
+       .fnend
+
+       @ Section with no unwinding information.  Linker should insert a cantunwind entry.
+       .section .after, "xa"
+       .global __aeabi_unwind_cpp_pr0
+       .type __aeabi_unwind_cpp_pr0, %function
+__aeabi_unwind_cpp_pr0:
+       bx lr
+
+       .section .far
+       .word 0