summaryrefslogtreecommitdiffstats
path: root/ld/testsuite/ld-arm/jump19.d
diff options
context:
space:
mode:
authorMark Shinwell <shinwell@codesourcery.com>2007-05-15 09:54:09 +0000
committerMark Shinwell <shinwell@codesourcery.com>2007-05-15 09:54:09 +0000
commita00a1f35e162a3eb8294f994c36fce1b470e106c (patch)
tree36e96d5bf7bd015c128c3ce7cc4a5c3fe7bfd331 /ld/testsuite/ld-arm/jump19.d
parent1c3f20b4d1bae5fb56f265da94b18101f7dab390 (diff)
downloadppe42-binutils-a00a1f35e162a3eb8294f994c36fce1b470e106c.tar.gz
ppe42-binutils-a00a1f35e162a3eb8294f994c36fce1b470e106c.zip
bfd/
* elf32-arm.c (elf32_arm_final_link_relocate): Correctly handle the Thumb-2 JUMP19 relocation. ld/testsuite/ * ld-arm/arm-elf.exp: Add jump19 testcase. * ld-arm/jump19.d: New. * ld-arm/jump19.s: New.
Diffstat (limited to 'ld/testsuite/ld-arm/jump19.d')
-rw-r--r--ld/testsuite/ld-arm/jump19.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/jump19.d b/ld/testsuite/ld-arm/jump19.d
new file mode 100644
index 0000000000..303477f622
--- /dev/null
+++ b/ld/testsuite/ld-arm/jump19.d
@@ -0,0 +1,12 @@
+
+.*jump19: file format elf32-(big|little)arm
+
+Disassembly of section .text:
+
+00008000 <_start>:
+ 8000: 4280 cmp r0, r0
+ 8002: f010 8000 beq.w 18006 <bar>
+ ...
+
+00018006 <bar>:
+ 18006: 4770 bx lr
OpenPOWER on IntegriCloud