aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/jump-reloc-veneers.s
diff options
context:
space:
mode:
authorRamana Radhakrishnan <ramana.r@gmail.com>2010-02-01 10:33:16 +0000
committerRamana Radhakrishnan <ramana.r@gmail.com>2010-02-01 10:33:16 +0000
commit8fac31798547b3780757d72ba5e30de68c35719a (patch)
tree01d9ba6d8ba84928465edc88f2bb8697f792ec35 /ld/testsuite/ld-arm/jump-reloc-veneers.s
parent0930eddd65bd8f1e41f8eaec99f9d9bef22553cd (diff)
downloadgdb-8fac31798547b3780757d72ba5e30de68c35719a.zip
gdb-8fac31798547b3780757d72ba5e30de68c35719a.tar.gz
gdb-8fac31798547b3780757d72ba5e30de68c35719a.tar.bz2
Fix testsuite for Thumb2 jump reloc veneers.
2010-02-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> * ld-arm/jump-reloc-veneers-long.d: New test. * ld-arm/jump-reloc-veneers-short1.d: Likewise. * ld-arm/jump-reloc-veneers-short2.d: Likewise. * ld-arm/jump-reloc-veneers.s: Likewise. * ld-arm/arm-elf.exp (armelftests): Run them.
Diffstat (limited to 'ld/testsuite/ld-arm/jump-reloc-veneers.s')
-rw-r--r--ld/testsuite/ld-arm/jump-reloc-veneers.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/jump-reloc-veneers.s b/ld/testsuite/ld-arm/jump-reloc-veneers.s
new file mode 100644
index 0000000..d307c08
--- /dev/null
+++ b/ld/testsuite/ld-arm/jump-reloc-veneers.s
@@ -0,0 +1,12 @@
+ .text
+ .syntax unified
+ .thumb_func
+ .global _start
+ .type _start,%function
+_start:
+ b.w dest
+
+ .section destsect, "x"
+ .thumb_func
+dest:
+ b dest