old-cross-binutils/ld/testsuite/ld-arm
Paul Brook 39b41c9ca8 2005-12-12 Paul Brook <paul@codesourcery.com>
bfd/
	* bfd-in2.h: Regenerate.
	* elf32-arm.c (elf32_arm_reloc_map): Add BFD_RELOC_ARM_PCREL_CALL and
	BFD_RELOC_ARM_PCREL_JUMP.
	(check_use_blx): New function.
	(bfd_elf32_arm_process_before_allocation): Don't allocate glue if
	using BLX.
	(elf32_arm_final_link_relocate): Perform bl<->blx conversion for
	R_ARM_CALL and R_ARM_THM.
	(elf32_arm_get_eabi_attr_int): New function.
	(elf32_arm_size_dynamic_sections): Call check_use_blx.
	* libbfd.h: Regenerate.
	* reloc.c: Add BFD_RELOC_ARM_PCREL_CALL and BFD_RELOC_ARM_PCREL_JUMP.
gas/
	* config/tc-arm.c (do_branch): Generate EABI branch relocations.
	(do_bl): New function.
	(do_blx): Generate BFD_RELOC_ARM_PCREL_CALL relocation.
	(do_t_blx): Generate BFD_RELOC_THUMB_PCREL_BRANCH23.
	(insns): Use do_bl.
	(md_pcrel_from_section): Add BFD_RELOC_ARM_PCREL_CALL and
	BFD_RELOC_ARM_PCREL_JUMP.
	(md_apply_fix): Merge BFD_RELOC_ARM_PCREL_BRANCH and
	BFD_RELOC_ARM_PCREL_BLX cases.  Handle BFD_RELOC_ARM_PCREL_CALL and
	BFD_RELOC_ARM_PCREL_JUMP.
	(tc_gen_reloc): Handle BFD_RELOC_ARM_PCREL_CALL and
	BFD_RELOC_ARM_PCREL_JUMP.
	gas/testsuite/
	* gas/arm/pic.d: Allow R_ARM_CALL relocations.
include/elf/
	* arm.h (elf32_arm_get_eabi_attr_int): Add prototype.
ld/testsuite/
	* ld-arm/arm-call.d: New test.
	* ld-arm/arm-call1.s: New file.
	* ld-arm/arm-call1.s: New file.
	* ld-arm/arm-elf.exp: Add arm-call and mixed-app-v5.
	* ld-arm/arm.ld: Add .glue_7 and .ARM.attribues.
	* ld-arm/mixed-app-v5.d: New file.
	* ld-arm/mixed-app.r: Tweak expected output.
2005-12-12 17:03:40 +00:00
..
arm-app-abs32.d * bfd/bfd-in.h (bfd_elf32_is_arm_mapping_symbol_name): Add prototype. 2005-03-30 16:22:07 +00:00
arm-app-abs32.r bfd/ 2004-11-17 17:50:28 +00:00
arm-app-abs32.s * ld-arm/arm-app-abs32.s, ld-arm/arm-app-abs32.r, 2004-01-23 16:51:39 +00:00
arm-app.d * bfd/bfd-in.h (bfd_elf32_is_arm_mapping_symbol_name): Add prototype. 2005-03-30 16:22:07 +00:00
arm-app.r bfd/ 2004-11-17 17:50:28 +00:00
arm-app.s
arm-call.d 2005-12-12 Paul Brook <paul@codesourcery.com> 2005-12-12 17:03:40 +00:00
arm-call1.s 2005-12-12 Paul Brook <paul@codesourcery.com> 2005-12-12 17:03:40 +00:00
arm-call2.s 2005-12-12 Paul Brook <paul@codesourcery.com> 2005-12-12 17:03:40 +00:00
arm-dyn.ld bfd/ 2005-03-29 16:54:22 +00:00
arm-elf.exp 2005-12-12 Paul Brook <paul@codesourcery.com> 2005-12-12 17:03:40 +00:00
arm-lib-plt32.d bfd/ 2004-11-17 17:50:28 +00:00
arm-lib-plt32.r bfd/ 2004-11-17 17:50:28 +00:00
arm-lib-plt32.s
arm-lib.d bfd/ 2004-11-17 17:50:28 +00:00
arm-lib.ld bfd/ 2005-03-29 16:54:22 +00:00
arm-lib.r bfd/ 2004-11-17 17:50:28 +00:00
arm-lib.s
arm-rel31.d 2005-10-08 Paul Brook <paul@codesourcery.com> 2005-10-08 17:07:19 +00:00
arm-rel31.s bfd/ 2004-09-17 12:18:19 +00:00
arm-static-app.d bfd/ 2004-11-17 17:50:28 +00:00
arm-static-app.r bfd/ 2004-11-17 17:50:28 +00:00
arm-static-app.s * ld-arm/arm-elf.exp: Add arm-static-app test. 2004-01-13 21:09:18 +00:00
arm-target1-abs.d 2005-10-08 Paul Brook <paul@codesourcery.com> 2005-10-08 17:07:19 +00:00
arm-target1-rel.d 2005-10-08 Paul Brook <paul@codesourcery.com> 2005-10-08 17:07:19 +00:00
arm-target1.s bfd/ 2004-09-17 12:18:19 +00:00
arm-target2-abs.d 2005-10-08 Paul Brook <paul@codesourcery.com> 2005-10-08 17:07:19 +00:00
arm-target2-got-rel.d 2005-10-08 Paul Brook <paul@codesourcery.com> 2005-10-08 17:07:19 +00:00
arm-target2-rel.d 2005-10-08 Paul Brook <paul@codesourcery.com> 2005-10-08 17:07:19 +00:00
arm-target2.s bfd/ 2004-09-17 12:18:19 +00:00
arm.ld 2005-12-12 Paul Brook <paul@codesourcery.com> 2005-12-12 17:03:40 +00:00
mixed-app-v5.d 2005-12-12 Paul Brook <paul@codesourcery.com> 2005-12-12 17:03:40 +00:00
mixed-app.d Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
mixed-app.r 2005-12-12 Paul Brook <paul@codesourcery.com> 2005-12-12 17:03:40 +00:00
mixed-app.s bfd/ 2004-11-17 17:50:28 +00:00
mixed-app.sym Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
mixed-lib.d bfd/ 2004-11-17 17:50:28 +00:00
mixed-lib.r bfd/ 2004-11-17 17:50:28 +00:00
mixed-lib.s bfd/ 2004-11-17 17:50:28 +00:00
mixed-lib.sym Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
tls-app.d Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
tls-app.r Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
tls-app.s bfd/ 2005-03-29 16:54:22 +00:00
tls-lib.d * ld-arm/mixed-app.sym: Expact _stack to be in the ABS section. 2005-08-08 15:52:54 +00:00
tls-lib.r * ld-arm/mixed-app.sym: Expact _stack to be in the ABS section. 2005-08-08 15:52:54 +00:00
tls-lib.s bfd/ 2005-03-29 16:54:22 +00:00