This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Patch/RFA]: Patch to fix R_ARM_THM_JUMP24 relocation truncated bug
On Mon, Jan 18, 2010 at 02:36:36PM +0000, Matthew Gretton-Dann wrote:
> * 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.
Applied.
> * 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.
One of these tests fails on arm-linux with current mainline sources.
Please retest and fix.
--
Alan Modra
Australia Development Lab, IBM