binutils-gdb/ld/testsuite
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
..
config * config/default.exp (CC): Use find_gcc. 2005-05-27 17:27:03 +00:00
ld-alpha bfd/ 2006-06-02 00:32:00 +00:00
ld-arm * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2} 2006-06-15 11:03:02 +00:00
ld-auto-import Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-bootstrap binutils/testsuite/ 2005-11-15 08:32:02 +00:00
ld-cdtest 2006-05-02 H.J. Lu <hongjiu.lu@intel.com> 2006-05-02 13:35:45 +00:00
ld-checks Add support for the Z80 processor family 2005-10-25 17:40:19 +00:00
ld-cris bfd/ 2006-06-02 00:32:00 +00:00
ld-crx Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-cygwin Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-d10v * ld-d10v/default_layout.d: Adjust for section removal. 2005-08-18 07:51:08 +00:00
ld-discard Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-elf * ld-elf/sec64k.exp: Add "main" symbol. Use dc.a for addresses. 2006-06-05 12:53:50 +00:00
ld-elfcomm Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-elfvers * ld-elfvers/vers.exp (objdump_versionstuff): Allow versions in 2006-06-06 04:30:21 +00:00
ld-elfvsb Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-elfweak * ld-elfweak/size2.d, ld-elfweak/size2a.s, ld-elfweak/size2b.s: 2006-05-17 11:30:24 +00:00
ld-fastcall Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-frv Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
ld-h8300 Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-i386 bfd/ 2006-06-02 00:32:00 +00:00
ld-ia64 bfd/ 2006-06-02 00:32:00 +00:00
ld-linkonce Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-m68hc11 Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-m68k bfd/ 2006-06-14 08:27:41 +00:00
ld-maxq Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-mips-elf [ bfd/ChangeLog ] 2006-06-12 11:35:45 +00:00
ld-mmix bfd/ 2006-06-02 00:32:00 +00:00
ld-pe Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-pie 2006-02-23 H.J. Lu <hongjiu.lu@intel.com> 2006-02-23 22:23:26 +00:00
ld-powerpc * ld-powerpc/tlsexe.r: Update for removal of some section syms. 2006-06-02 07:53:30 +00:00
ld-s390 * ld-powerpc/tlsexe.r: Update for removal of some section syms. 2006-06-02 07:53:30 +00:00
ld-scripts * ld-scripts/empty-orphan.d: Update again. 2006-05-19 11:50:31 +00:00
ld-selective * ld-d10v/default_layout.d: Adjust for section removal. 2005-08-18 07:51:08 +00:00
ld-sh Updo the last change to binutils and ld/testsuite. 2006-02-02 22:53:46 +00:00
ld-shared Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-sparc bfd/ 2006-06-02 00:32:00 +00:00
ld-srec 2006-05-02 H.J. Lu <hongjiu.lu@intel.com> 2006-05-02 13:35:45 +00:00
ld-undefined * ld-d10v/default_layout.d: Adjust for section removal. 2005-08-18 07:51:08 +00:00
ld-v850 include/elf/ 2004-12-16 16:56:04 +00:00
ld-versados Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-x86-64 bfd/ 2006-06-02 00:32:00 +00:00
ld-xc16x Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
ld-xstormy16 Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-xtensa Update FSF addresses 2005-05-12 07:32:09 +00:00
lib * lib/ld-lib.exp: Comment cleanups. 2006-04-05 01:51:15 +00:00
ChangeLog * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2} 2006-06-15 11:03:02 +00:00
ChangeLog-2004 split changelogs 2006-01-16 23:15:07 +00:00
ChangeLog-2005 split changelogs 2006-01-16 23:15:07 +00:00
ChangeLog-9303