This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Add support for ARM AAPCS R_ARM_V4BX relocation type
- From: Ian Lance Taylor <ian at airs dot com>
- To: Julian Brown <julian at codesourcery dot com>
- Cc: binutils at sources dot redhat dot com
- Date: 28 Jan 2005 10:35:06 -0500
- Subject: Re: [PATCH] Add support for ARM AAPCS R_ARM_V4BX relocation type
- References: <41FA5907.6020505@codesourcery.com>
Julian Brown <julian@codesourcery.com> writes:
> ChangeLog:
>
> * bfd/bin-in.h (bfd_elf32_arm_set_target_relocs): Update
> prototype.
> * bfd/bin-in2.h (bfd_elf32_arm_set_target_relocs): Update
> prototype.
> * bfd/elf32-arm.c (elf32_arm_link_hash_table): Add fix_v4bx
> flag.
> (bfd_elf32_arm_set_target_relocs): Add formal parameter fix_v4bx
> for passing flag value from ld. Set flag value in global hash
> table entry.
> (elf32_arm_final_link_relocate): Add code to implement
> R_ARM_V4BX relocation.
> * ld/emultempl/armelf.em (fix_v4bx): New variable.
> (arm_elf_create_output_section_statements): Communicate fix_v4bx
> flag value to bfd.
> (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX.
> (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx.
> (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx.
> (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX.
This option should be documented in ld.texinfo, and the new option
should be mentioned in ld/NEWS.
Ian