This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add support for ARM AAPCS R_ARM_V4BX relocation type


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]