This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] Support for R_ARM_CALL and R_ARM_JUMP24
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: binutils at sources dot redhat dot com, Richard Earnshaw <rearnsha at arm dot com>
- Date: 27 Oct 2004 22:02:10 -0400
- Subject: Re: [patch] Support for R_ARM_CALL and R_ARM_JUMP24
- References: <200410272148.24955.paul@codesourcery.com>
Paul Brook <paul@codesourcery.com> writes:
> Tested with cross to arm-none-eabi, built --enable-targets=all and applied.
> Paul
>
> 2004-10-27 Richard Earnshaw <rearnsha@arm.com>
>
> bfd/
> * elf32-arm.h (bfd_elf32_arm_process_before_allocation): Handle
> R_ARM_CALL and R_ARM_JUMP24 as aliases of R_ARM_PC24.
> (elf32_arm_final_link_relocate): Ditto.
> (arm_add_to_rel, elf32_arm_relocate_section): Ditto.
> (elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto
> (elf32_arm_adjust_dynamic_symbol): Ditto.
> * elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_CALL and
> R_ARM_JUMP32. Move R_ARM_R{REL32,ABS32,PC24,BASE}...
> (elf32_arm_r_howto): ... To here.
> (elf32_arm_howto_from_type): Use elf32_arm_r_howto.
> include/
> * elf/arm.h: Add R_ARM_CALL and R_ARM_JUMP32.
This patch is OK.
Ian