binutils-gdb/ld/testsuite/ld-arm
Paul Brook 845b51d665 2008-02-20 Paul Brook <paul@codesourcery.com>
ld/
	* emultempl/armelf.em (OPTION_FIX_V4BX_INTERWORKING): Define.
	(PARSE_AND_LIST_LONGOPTS): Add fix-v4bx-interworking.
	(PARSE_AND_LIST_OPTIONS): Ditto.
	(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FIX_V4BX_INTERWORKING.
	* emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Add .v4_bx.
	* emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Ditto.
	* emulparams/armnto.sh (OTHER_TEXT_SECTIONS): Ditto.
	* ld.texinfo: Document --fix-v4bx-interworking.

	ld/testsuite/
	* ld-arm/armv4-bx.d: New test.
	* ld-arm/armv4-bx.s: New test.
	* ld-arm/arm.ld: Add .v4bx.
	* ld-arm/arm-elf.exp: Add armv4-bx.

	gas/testsuite/
	* gas/arm/thumb.d: Exclude EABI targets.
	* gas/arm/arch4t.d: Exclude EABI targts.
	* gas/arm/v4bx.d: New test.
	* gas/arm/v4bx.s: New test.
	* gas/arm/thumb-eabi.d: New test.
	* gas/arm/arch4t-eabi.d: New test.

	gas/
	* config/tc-arm.c (fix_v4bx): New variable.
	(do_bx): Generate V4BX relocations.
	(md_assemble): Allow bx on v4 codes when fix_v4bx.
	(md_apply_fix): Handle BFD_RELOC_ARM_V4BX.
	(tc_gen_reloc): Ditto.
	(OPTION_FIX_V4BX): Define.
	(md_longopts): Add fix-v4bx.
	(md_parse_option): Handle OPTION_FIX_V4BX.
	(md_show_usage): Document --fix-v4bx.
	* doc/c-arm.texi: Document --fix-v4bx.

	bfd/
	* reloc.c: Add BFD_RELOC_ARM_V4BX.
	* elf32-arm.c (elf32_arm_reloc_map): Add BFD_RELOC_ARM_V4BX.
	(ARM_BX_GLUE_SECTION_NAME, ARM_BX_GLUE_SECTION_NAME): Define.
	(elf32_arm_link_hash_table): Add bx_glue_size and bx_glue_offset.
	Update comment for fix_v4bx.
	(elf32_arm_link_hash_table_create): Zero bx_glue_size and
	bx_glue_offset.
	(ARM_BX_VENEER_SIZE, armbx1_tst_insn, armbx2_moveq_insn,
	armbx3_bx_insn): New.
	(bfd_elf32_arm_allocate_interworking_sections): Allocate BX veneer
	section.
	(bfd_elf32_arm_add_glue_sections_to_bfd): Ditto.
	(bfd_elf32_arm_process_before_allocation): Record BX veneers.
	(record_arm_bx_glue, elf32_arm_bx_glue): New functions.
	(elf32_arm_final_link_relocate): Handle BX veneers.
	(elf32_arm_output_arch_local_syms): Output mapping symbol for .v4_bx.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
2008-02-20 15:17:56 +00:00
..
arm-app-abs32.d 2007-05-22 Paul Brook <paul@codesourcery.com> 2007-05-22 15:05:12 +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 2007-05-22 Paul Brook <paul@codesourcery.com> 2007-05-22 15:05:12 +00:00
arm-app.r bfd/ 2004-11-17 17:50:28 +00:00
arm-app.s
arm-be8.d 2006-05-15 Paul Brook <paul@codesourcery.com> 2006-05-15 19:57:35 +00:00
arm-be8.s 2006-05-15 Paul Brook <paul@codesourcery.com> 2006-05-15 19:57:35 +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-call.d 2007-05-22 Paul Brook <paul@codesourcery.com> 2007-05-22 17:17:53 +00:00
arm-dyn.ld * ld-arm/arm-dyn.ld, ld-arm/arm-lib.ld: Remove .stack. 2006-11-13 21:18:36 +00:00
arm-elf.exp 2008-02-20 Paul Brook <paul@codesourcery.com> 2008-02-20 15:17:56 +00:00
arm-lib-plt32.d 2007-05-22 Paul Brook <paul@codesourcery.com> 2007-05-22 15:05:12 +00:00
arm-lib-plt32.r bfd/ 2004-11-17 17:50:28 +00:00
arm-lib-plt32.s
arm-lib.d 2007-05-22 Paul Brook <paul@codesourcery.com> 2007-05-22 15:05:12 +00:00
arm-lib.ld * ld-arm/arm-dyn.ld, ld-arm/arm-lib.ld: Remove .stack. 2006-11-13 21:18:36 +00:00
arm-lib.r bfd/ 2004-11-17 17:50:28 +00:00
arm-lib.s
arm-movwt.d 2006-05-11 Paul Brook <paul@codesourcery.com> 2006-05-11 15:17:34 +00:00
arm-movwt.s 2006-05-11 Paul Brook <paul@codesourcery.com> 2006-05-11 15:17:34 +00:00
arm-pic-veneer.d 2007-05-22 Paul Brook <paul@codesourcery.com> 2007-05-22 17:17:53 +00:00
arm-pic-veneer.s 2007-03-20 Paul Brook <paul@codesourcery.com> 2007-03-20 20:19:07 +00:00
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 * ld-arm/arm-app-abs32.d: Convert to unified syntax. 2007-04-21 19:44:40 +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 2008-02-20 Paul Brook <paul@codesourcery.com> 2008-02-20 15:17:56 +00:00
armthumb-lib.d 2007-05-22 Paul Brook <paul@codesourcery.com> 2007-05-22 15:05:12 +00:00
armthumb-lib.sym * ld-arm/arm-dyn.ld, ld-arm/arm-lib.ld: Remove .stack. 2006-11-13 21:18:36 +00:00
armv4-bx.d 2008-02-20 Paul Brook <paul@codesourcery.com> 2008-02-20 15:17:56 +00:00
armv4-bx.s 2008-02-20 Paul Brook <paul@codesourcery.com> 2008-02-20 15:17:56 +00:00
attr-merge-2.attr bfd: 2007-07-03 15:21:30 +00:00
attr-merge-2a.s bfd: 2007-07-03 15:21:30 +00:00
attr-merge-2b.s bfd: 2007-07-03 15:21:30 +00:00
attr-merge.attr bfd: 2007-06-26 13:55:04 +00:00
attr-merge.s bfd: 2007-06-26 13:55:04 +00:00
callweak.d 2007-06-29 Paul Brook <paul@codesourcery.com> 2007-07-25 14:39:48 +00:00
callweak.s 2007-06-29 Paul Brook <paul@codesourcery.com> 2007-07-25 14:39:48 +00:00
emit-relocs1-vxworks.d binutils/ 2007-05-21 06:36:01 +00:00
emit-relocs1.d binutils/ 2007-05-21 06:36:01 +00:00
emit-relocs1.s binutils/ 2007-05-21 06:36:01 +00:00
gc-unwind.d 2007-02-22 Paul Brook <paul@codesourcery.com> 2007-02-22 17:03:59 +00:00
gc-unwind.s 2007-02-22 Paul Brook <paul@codesourcery.com> 2007-02-22 17:03:59 +00:00
group-relocs-alu-bad.d * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2} 2006-06-15 11:03:02 +00:00
group-relocs-alu-bad.s * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2} 2006-06-15 11:03:02 +00:00
group-relocs-ldc-bad.d * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2} 2006-06-15 11:03:02 +00:00
group-relocs-ldc-bad.s * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2} 2006-06-15 11:03:02 +00:00
group-relocs-ldr-bad.d * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2} 2006-06-15 11:03:02 +00:00
group-relocs-ldr-bad.s * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2} 2006-06-15 11:03:02 +00:00
group-relocs-ldrs-bad.d * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2} 2006-06-15 11:03:02 +00:00
group-relocs-ldrs-bad.s * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2} 2006-06-15 11:03:02 +00:00
group-relocs.d * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2} 2006-06-15 11:03:02 +00:00
group-relocs.s * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2} 2006-06-15 11:03:02 +00:00
jump19.d bfd/ 2007-05-15 09:54:09 +00:00
jump19.s bfd/ 2007-05-15 09:54:09 +00:00
mixed-app-v5.d 2007-05-22 Paul Brook <paul@codesourcery.com> 2007-05-22 15:05:12 +00:00
mixed-app.d 2007-05-22 Paul Brook <paul@codesourcery.com> 2007-05-22 15:05:12 +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 * ld-arm/arm-dyn.ld, ld-arm/arm-lib.ld: Remove .stack. 2006-11-13 21:18:36 +00:00
mixed-lib.d 2007-05-22 Paul Brook <paul@codesourcery.com> 2007-05-22 15:05:12 +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 * ld-arm/arm-dyn.ld, ld-arm/arm-lib.ld: Remove .stack. 2006-11-13 21:18:36 +00:00
preempt-app.s 2007-04-17 Paul Brook <paul@codesourcery.com> 2007-04-17 20:09:52 +00:00
preempt-app.sym 2007-04-17 Paul Brook <paul@codesourcery.com> 2007-04-17 20:09:52 +00:00
thumb1-bl.d bfd/ 2006-10-17 15:46:21 +00:00
thumb1-bl.s bfd/ 2006-10-17 15:46:21 +00:00
thumb2-bl-as-thumb1-bad.d bfd/ 2006-10-17 15:46:21 +00:00
thumb2-bl-as-thumb1-bad.s bfd/ 2006-10-17 15:46:21 +00:00
thumb2-bl-bad.d bfd/ 2006-10-17 15:46:21 +00:00
thumb2-bl-bad.s bfd/ 2006-10-17 15:46:21 +00:00
thumb2-bl.d bfd/ 2006-10-17 15:46:21 +00:00
thumb2-bl.s bfd/ 2006-10-17 15:46:21 +00:00
thumb-entry.d 2006-02-07 Paul Brook <paul@codesourcery.com> 2006-02-07 03:50:20 +00:00
thumb-entry.s 2006-02-07 Paul Brook <paul@codesourcery.com> 2006-02-07 03:50:20 +00:00
thumb-rel32.d 2006-05-02 Paul Brook <paul@codesourcery.com> 2006-05-02 13:09:18 +00:00
thumb-rel32.s 2006-05-02 Paul Brook <paul@codesourcery.com> 2006-05-02 13:09:18 +00:00
tls-app.d opcodes/ 2006-11-22 17:45:57 +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 opcodes/ 2006-11-22 17:45:57 +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
use-thumb-lib.s 2006-06-19 Vladimir Prus <vladimir@codesourcery.com> 2006-06-20 13:55:08 +00:00
use-thumb-lib.sym * ld-arm/use-thumb-lib.sym: Robustify, by ignoring symbols we're 2006-10-02 17:10:56 +00:00
vfp11-fix-none.d * ld-arm/arm-elf.exp: Add VFP11 tests. 2007-01-29 16:27:34 +00:00
vfp11-fix-none.s * ld-arm/arm-elf.exp: Add VFP11 tests. 2007-01-29 16:27:34 +00:00
vfp11-fix-scalar.d * ld-arm/arm-elf.exp: Add VFP11 tests. 2007-01-29 16:27:34 +00:00
vfp11-fix-scalar.s * ld-arm/arm-elf.exp: Add VFP11 tests. 2007-01-29 16:27:34 +00:00
vfp11-fix-vector.d * ld-arm/arm-elf.exp: Add VFP11 tests. 2007-01-29 16:27:34 +00:00
vfp11-fix-vector.s * ld-arm/arm-elf.exp: Add VFP11 tests. 2007-01-29 16:27:34 +00:00
vxworks1-lib.dd bfd/ 2007-05-10 17:00:03 +00:00
vxworks1-lib.nd bfd/ 2006-03-07 08:39:21 +00:00
vxworks1-lib.rd ld/testsuite/ 2007-05-15 12:22:34 +00:00
vxworks1-lib.s bfd/ 2006-03-07 08:39:21 +00:00
vxworks1-lib.td ld/testsuite/ 2007-05-15 12:22:34 +00:00
vxworks1-static.d bfd/ 2006-03-07 08:39:21 +00:00
vxworks1.dd binutils/ 2007-05-21 06:36:01 +00:00
vxworks1.ld ld/testsuite/ 2007-05-15 12:22:34 +00:00
vxworks1.rd bfd/ 2006-03-07 08:39:21 +00:00
vxworks1.s bfd/ 2006-03-07 08:39:21 +00:00
vxworks2-static.sd bfd/ 2006-03-07 08:39:21 +00:00
vxworks2.s bfd/ 2006-03-07 08:39:21 +00:00
vxworks2.sd bfd/ 2006-03-07 08:39:21 +00:00