old-cross-binutils/ld/testsuite/ld-arm
Mark Shinwell 4962c51a67 * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2}
to R_ARM_LDC_SB_G{0,1,2} respectively.

bfd/
	* bfd-in2.h: Regenerate.
	* elf32-arm.c (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0,
	R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1, R_ARM_ALU_PC_G2,
	R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2, R_ARM_LDRS_PC_G0,
	R_ARM_LDRS_PC_G1, R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0,
	R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2, R_ARM_ALU_SB_G0_NC,
	R_ARM_ALU_SB_G0, R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1,
	R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1,
	R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0, R_ARM_LDRS_SB_G1,
	R_ARM_LDRS_SB_G2, R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1,
	R_ARM_LDC_SB_G2): New relocation types.
	(R_ARM_PC13): Rename to AAELF name R_ARM_LDR_PC_G0 and
	adjust HOWTO entry to be consistent with R_ARM_LDR_PC_G1
	and friends.
	(elf32_arm_howto_table_3): Delete; contents merged into
	elf32_arm_howto_table_2.
	(elf32_arm_howto_from_type): Adjust correspondingly.
	(elf32_arm_reloc_map): Extend with the above relocations.
	(calculate_group_reloc_mask): New function.
	(identify_add_or_sub): New function.
	(elf32_arm_final_link_relocate): Support for the above
	relocations.
	* reloc.c: Add enumeration entries for BFD_RELOC_ARM_...
	codes to correspond to the above relocations.

gas/
	* config/tc-arm.c (enum parse_operand_result): New.
	(struct group_reloc_table_entry): New.
	(enum group_reloc_type): New.
	(group_reloc_table): New array.
	(find_group_reloc_table_entry): New function.
	(parse_shifter_operand_group_reloc): New function.
	(parse_address_main): New function, incorporating code
	from the old parse_address function.  To be used via...
	(parse_address): wrapper for parse_address_main; and
	(parse_address_group_reloc): new function, likewise.
	(enum operand_parse_code): New codes OP_SHG, OP_ADDRGLDR,
	OP_ADDRGLDRS, OP_ADDRGLDC.
	(parse_operands): Support for these new operand codes.
	New macro po_misc_or_fail_no_backtrack.
	(encode_arm_cp_address): Preserve group relocations.
	(insns): Modify to use the above operand codes where group
	relocations are permitted.
	(md_apply_fix): Handle the group relocations
	ALU_PC_G0_NC through LDC_SB_G2.
	(tc_gen_reloc): Likewise.
	(arm_force_relocation): Leave group relocations for the linker.
	(arm_fix_adjustable): Likewise.

gas/testsuite/
	* gas/arm/group-reloc-alu.d: New test.
	* gas/arm/group-reloc-alu-encoding-bad.d: New test.
	* gas/arm/group-reloc-alu-encoding-bad.l: New test.
	* gas/arm/group-reloc-alu-encoding-bad.s: New test.
	* gas/arm/group-reloc-alu-parsing-bad.d: New test.
	* gas/arm/group-reloc-alu-parsing-bad.l: New test.
	* gas/arm/group-reloc-alu-parsing-bad.s: New test.
	* gas/arm/group-reloc-alu.s: New test.
	* gas/arm/group-reloc-ldc.d: New test.
	* gas/arm/group-reloc-ldc-encoding-bad.d: New test.
	* gas/arm/group-reloc-ldc-encoding-bad.l: New test.
	* gas/arm/group-reloc-ldc-encoding-bad.s: New test.
	* gas/arm/group-reloc-ldc-parsing-bad.d: New test.
	* gas/arm/group-reloc-ldc-parsing-bad.l: New test.
	* gas/arm/group-reloc-ldc-parsing-bad.s: New test.
	* gas/arm/group-reloc-ldc.s: New test.
	* gas/arm/group-reloc-ldr.d: New test.
	* gas/arm/group-reloc-ldr-encoding-bad.d: New test.
	* gas/arm/group-reloc-ldr-encoding-bad.l: New test.
	* gas/arm/group-reloc-ldr-encoding-bad.s: New test.
	* gas/arm/group-reloc-ldr-parsing-bad.d: New test.
	* gas/arm/group-reloc-ldr-parsing-bad.l: New test.
	* gas/arm/group-reloc-ldr-parsing-bad.s: New test.
	* gas/arm/group-reloc-ldr.s: New test.
	* gas/arm/group-reloc-ldrs.d: New test.
	* gas/arm/group-reloc-ldrs-encoding-bad.d: New test.
	* gas/arm/group-reloc-ldrs-encoding-bad.l: New test.
	* gas/arm/group-reloc-ldrs-encoding-bad.s: New test.
	* gas/arm/group-reloc-ldrs-parsing-bad.d: New test.
	* gas/arm/group-reloc-ldrs-parsing-bad.l: New test.
	* gas/arm/group-reloc-ldrs-parsing-bad.s: New test.
	* gas/arm/group-reloc-ldrs.s: New test.

ld/testsuite/
	* ld-arm/group-relocs-alu-bad.d: New test.
	* ld-arm/group-relocs-alu-bad.s: New test.
	* ld-arm/group-relocs.d: New test.
	* ld-arm/group-relocs-ldc-bad.d: New test.
	* ld-arm/group-relocs-ldc-bad.s: New test.
	* ld-arm/group-relocs-ldr-bad.d: New test.
	* ld-arm/group-relocs-ldr-bad.s: New test.
	* ld-arm/group-relocs-ldrs-bad.d: New test.
	* ld-arm/group-relocs-ldrs-bad.s: New test.
	* ld-arm/group-relocs.s: New test.
	* ld-arm/arm-elf.exp: Wire in new tests.
2006-06-15 11:03:02 +00:00
..
arm-app-abs32.d 2006-05-24 Paul Brook <paul@codesourcery.com> 2006-05-24 17:10:02 +00:00
arm-app-abs32.r bfd/ 2004-11-17 17:50:28 +00:00
arm-app-abs32.s
arm-app.d 2006-05-24 Paul Brook <paul@codesourcery.com> 2006-05-24 17:10:02 +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-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 * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2} 2006-06-15 11:03:02 +00:00
arm-lib-plt32.d 2006-05-24 Paul Brook <paul@codesourcery.com> 2006-05-24 17:10:02 +00:00
arm-lib-plt32.r bfd/ 2004-11-17 17:50:28 +00:00
arm-lib-plt32.s
arm-lib.d 2006-05-24 Paul Brook <paul@codesourcery.com> 2006-05-24 17:10:02 +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-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-rel31.d 2005-10-08 Paul Brook <paul@codesourcery.com> 2005-10-08 17:07:19 +00:00
arm-rel31.s
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
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
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
arm.ld 2006-05-11 Paul Brook <paul@codesourcery.com> 2006-05-11 15:17:34 +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
mixed-app-v5.d 2006-05-24 Paul Brook <paul@codesourcery.com> 2006-05-24 17:10:02 +00:00
mixed-app.d 2006-05-24 Paul Brook <paul@codesourcery.com> 2006-05-24 17:10:02 +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 2006-05-24 Paul Brook <paul@codesourcery.com> 2006-05-24 17:10:02 +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
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 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
vxworks1-lib.dd bfd/ 2006-03-07 08:39:21 +00:00
vxworks1-lib.nd bfd/ 2006-03-07 08:39:21 +00:00
vxworks1-lib.rd bfd/ 2006-03-07 08:39:21 +00:00
vxworks1-lib.s bfd/ 2006-03-07 08:39:21 +00:00
vxworks1-static.d bfd/ 2006-03-07 08:39:21 +00:00
vxworks1.dd bfd/ 2006-03-07 08:39:21 +00:00
vxworks1.ld bfd/ 2006-03-07 08:39:21 +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