aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorMatthew Gretton-Dann <matthew.gretton-dann@arm.com>2010-02-19 14:44:53 +0000
committerMatthew Gretton-Dann <matthew.gretton-dann@arm.com>2010-02-19 14:44:53 +0000
commitaef392b869508309896fd2b13beb1bfc01a75e40 (patch)
tree0933c10ca7fdb11ba2f5ccc54e5ccf7a654a21ae /ld
parent92a488bed115cceee38b76b1ce8a10419a11f64b (diff)
downloadgdb-aef392b869508309896fd2b13beb1bfc01a75e40.zip
gdb-aef392b869508309896fd2b13beb1bfc01a75e40.tar.gz
gdb-aef392b869508309896fd2b13beb1bfc01a75e40.tar.bz2
2010-01-19 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* bfd/elf32-arm.c (elf32_arm_howto_table_1): Correct bitsize of R_ARM_THM_CALL entry. (elf32_arm_final_link_relocate): Correct calculation of reloc_signed_max when doing a R_ARM_THM_CALL, R_ARM_THM_XPC22, or R_ARM_THM_JUMP24 relocation. 2010-02-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> * ld/testsuite/ld-arm/jump-reloc-veneers-long.d: Correct testcase for arm-none-eabi target. * ld/testsuite/ld-arm/jump-reloc-veneers-short1.d: Likewise * ld/testsuite/ld-arm/jump-reloc-veneers-short2.d: Likewise 2010-02-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> * ld/testsuite/ld-arm/jump-reloc-veneers-long.d: New test. * ld/testsuite/ld-arm/jump-reloc-veneers-short1.d: Likewise. * ld/testsuite/ld-arm/jump-reloc-veneers-short2.d: Likewise. * ld/testsuite/ld-arm/jump-reloc-veneers.s: Likewise. * ld/testsuite/ld-arm/arm-elf.exp (armelftests): Run them.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog15
-rw-r--r--ld/testsuite/ld-arm/arm-elf.exp18
2 files changed, 33 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 5b05fad..521c22c 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,18 @@
+2010-02-19 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
+
+ 2010-02-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
+ * ld-arm/jump-reloc-veneers-long.d: Correct testcase for
+ arm-none-eabi target.
+ * ld-arm/jump-reloc-veneers-short1.d: Likewise
+ * ld-arm/jump-reloc-veneers-short2.d: Likewise
+
+ 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.
+
2010-01-30 Richard Sandiford <r.sandiford@uk.ibm.com>
* ld-powerpc/aix-ref-1-32.od, ld-powerpc/aix-ref-1-64.od,
diff --git a/ld/testsuite/ld-arm/arm-elf.exp b/ld/testsuite/ld-arm/arm-elf.exp
index d88fb37..4b65c37 100644
--- a/ld/testsuite/ld-arm/arm-elf.exp
+++ b/ld/testsuite/ld-arm/arm-elf.exp
@@ -419,6 +419,24 @@ set armeabitests {
{{objdump -fdw farcall-mixed-lib.d}}
"farcall-mixed-lib.so"}
+ {"R_ARM_THM_JUMP24 Relocation veneers: Short 1"
+ "-defsym _start=0x8000 --section-start destsect=0x00009000"
+ "-march=armv7-a -mthumb"
+ {jump-reloc-veneers.s}
+ {{objdump -d jump-reloc-veneers-short1.d}}
+ "jump-reloc-veneers-short1"}
+ {"R_ARM_THM_JUMP24 Relocation veneers: Short 2"
+ "-defsym _start=0x8000 --section-start destsect=0x00900000"
+ "-march=armv7-a -mthumb"
+ {jump-reloc-veneers.s}
+ {{objdump -d jump-reloc-veneers-short2.d}}
+ "jump-reloc-veneers-short2"}
+ {"R_ARM_THM_JUMP24 Relocation veneers: Long"
+ "-defsym _start=0x8000 --section-start destsect=0x09000000"
+ "-march=armv7-a -mthumb"
+ {jump-reloc-veneers.s}
+ {{objdump -d jump-reloc-veneers-long.d}}
+ "jump-reloc-veneers-long"}
}
run_ld_link_tests $armeabitests