aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/unwind-mix2.s
diff options
context:
space:
mode:
authorYury Usishchev <y.usishchev@samsung.com>2016-01-12 16:33:20 +0000
committerNick Clifton <nickc@redhat.com>2016-01-12 16:35:49 +0000
commitac06903dcff237777c8d507a03aafd79c84129ae (patch)
tree1a73cdf1c03c294fc122820ad060066466cb4de5 /ld/testsuite/ld-arm/unwind-mix2.s
parentce5e165eae8925f64da52172f3e67ad8010a1aa0 (diff)
downloadgdb-ac06903dcff237777c8d507a03aafd79c84129ae.zip
gdb-ac06903dcff237777c8d507a03aafd79c84129ae.tar.gz
gdb-ac06903dcff237777c8d507a03aafd79c84129ae.tar.bz2
Add cantunwind when unwind info does not match start of section.
bfd * elf32-arm.c (elf32_arm_fix_exidx_coverage): Insert cantunwind when address in first unwind entry does not match start of section. tests * ld-arm/arm-elf.exp: New test. * ld-arm/unwind-mix.d: New file. * ld-arm/unwind-mix1.s: New file. * ld-arm/unwind-mix2.s: New file.
Diffstat (limited to 'ld/testsuite/ld-arm/unwind-mix2.s')
-rw-r--r--ld/testsuite/ld-arm/unwind-mix2.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/unwind-mix2.s b/ld/testsuite/ld-arm/unwind-mix2.s
new file mode 100644
index 0000000..5301edb
--- /dev/null
+++ b/ld/testsuite/ld-arm/unwind-mix2.s
@@ -0,0 +1,15 @@
+ .syntax unified
+ .text
+ .global __aeabi_unwind_cpp_pr1
+ .type __aeabi_unwind_cpp_pr1, %function
+__aeabi_unwind_cpp_pr1:
+ bx lr
+
+ .global end
+ .type end, %function
+end:
+ .fnstart
+ .save {r4, lr}
+ bx lr
+ .fnend
+