binutils-gdb/gas/config
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
..
aout_gnu.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
atof-ieee.c
atof-vax.c
bfin-aux.h * Makefile.am: Bfin support. 2005-09-30 15:05:07 +00:00
bfin-defs.h remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
bfin-lex.l remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
bfin-parse.y remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
e-crisaout.c
e-criself.c
e-i386aout.c
e-i386coff.c
e-i386elf.c
e-mipsecoff.c
e-mipself.c
itbl-mips.h
m68k-parse.h
m68k-parse.y
obj-aout.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
obj-aout.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
obj-coff.c * config/obj-coff.c, config/tc-arm.c, config/tc-bfin.c, 2006-04-23 22:12:43 +00:00
obj-coff.h remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
obj-ecoff.c
obj-ecoff.h
obj-elf.c 2006-05-05 H.J. Lu <hongjiu.lu@intel.com> 2006-05-05 18:24:45 +00:00
obj-elf.h remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
obj-evax.c
obj-evax.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
obj-multi.c
obj-multi.h
obj-som.c
obj-som.h remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-alpha.c * config/tc-ppc.c (ppc_pe_comm): Set bfd_com_section segment. 2005-11-16 01:49:48 +00:00
tc-alpha.h
tc-arc.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-arc.h
tc-arm.c * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2} 2006-06-15 11:03:02 +00:00
tc-arm.h * config/tc-arm.c, config/tc-arm.h (tc_arm_regname_to_dw2regnum): 2006-05-19 11:26:11 +00:00
tc-avr.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-avr.h Add support for AVR6 family 2006-05-24 07:36:12 +00:00
tc-bfin.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-bfin.h Commit the missing bits of my last patch. 2006-05-23 04:56:56 +00:00
tc-cris.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-cris.h
tc-crx.c * config/obj-coff.c, config/tc-arm.c, config/tc-bfin.c, 2006-04-23 22:12:43 +00:00
tc-crx.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-d10v.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-d10v.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-d30v.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-d30v.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-dlx.c
tc-dlx.h remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-fr30.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-fr30.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-frv.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-frv.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-generic.c
tc-generic.h
tc-h8300.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-h8300.h 2005-08-18 Christian Groessler <chris@groessler.org> 2005-08-18 11:54:33 +00:00
tc-hppa.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-hppa.h Add TLS support for hppa-linux 2006-05-24 11:05:42 +00:00
tc-i370.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-i370.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-i386.c gas/ 2006-06-12 18:55:44 +00:00
tc-i386.h * config/tc-arm.c, config/tc-arm.h (tc_arm_regname_to_dw2regnum): 2006-05-19 11:26:11 +00:00
tc-i860.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-i860.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-i960.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-i960.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-ia64.c 2006-05-02 H.J. Lu <hongjiu.lu@intel.com> 2006-05-02 13:34:26 +00:00
tc-ia64.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-ip2k.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-ip2k.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-iq2000.c * config/tc-iq2000.c: Include sb.h. 2006-06-09 03:42:25 +00:00
tc-iq2000.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-m32c.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-m32c.h [include/elf] 2006-02-24 22:10:36 +00:00
tc-m32r.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-m32r.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-m68hc11.c
tc-m68hc11.h * dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs 2005-09-20 18:24:48 +00:00
tc-m68k.c * config/tc-arm.c, config/tc-arm.h (tc_arm_regname_to_dw2regnum): 2006-05-19 11:26:11 +00:00
tc-m68k.h * config/tc-arm.c, config/tc-arm.h (tc_arm_regname_to_dw2regnum): 2006-05-19 11:26:11 +00:00
tc-m68851.h
tc-maxq.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-maxq.h * config/obj-coff.c, config/tc-arm.c, config/tc-bfin.c, 2006-04-23 22:12:43 +00:00
tc-mcore.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-mcore.h 2005-08-18 Christian Groessler <chris@groessler.org> 2005-08-18 11:54:33 +00:00
tc-mips.c Lost bit belonging to the last commit. 2006-06-09 12:55:00 +00:00
tc-mips.h * config/tc-mips.h (tc_mips_regname_to_dw2regnum): Declare. 2006-05-19 12:34:09 +00:00
tc-mmix.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-mmix.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-mn10200.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-mn10200.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-mn10300.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-mn10300.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-msp430.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-msp430.h 2005-08-12 Dmitry Diky <diwil@spec.ru> 2005-08-12 11:54:23 +00:00
tc-mt.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-mt.h Second part of ms1 to mt renaming. 2005-12-16 10:23:12 +00:00
tc-ns32k.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-ns32k.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-openrisc.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-openrisc.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-or32.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-or32.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-pdp11.c
tc-pdp11.h
tc-pj.c
tc-pj.h
tc-ppc.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-ppc.h * config/tc-arm.c, config/tc-arm.h (tc_arm_regname_to_dw2regnum): 2006-05-19 11:26:11 +00:00
tc-s390.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-s390.h * config/tc-arm.c, config/tc-arm.h (tc_arm_regname_to_dw2regnum): 2006-05-19 11:26:11 +00:00
tc-sh64.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-sh64.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-sh.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-sh.h * config/tc-arm.c, config/tc-arm.h (tc_arm_regname_to_dw2regnum): 2006-05-19 11:26:11 +00:00
tc-sparc.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-sparc.h * config/tc-arm.c, config/tc-arm.h (tc_arm_regname_to_dw2regnum): 2006-05-19 11:26:11 +00:00
tc-tic4x.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-tic4x.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-tic30.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-tic30.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-tic54x.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-tic54x.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-v850.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-v850.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-vax.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-vax.h * config/tc-vax.c: Update copyright year. 2006-03-18 11:23:38 +00:00
tc-xc16x.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-xc16x.h * config/tc-xc16x.h (TC_LINKRELAX_FIXUP): Delete. 2006-04-18 09:50:08 +00:00
tc-xstormy16.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-xstormy16.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-xtensa.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-xtensa.h * config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol 2006-01-31 19:36:57 +00:00
tc-z8k.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-z8k.h Re-enable GAS for z8k-coff 2005-08-26 09:47:49 +00:00
tc-z80.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-z80.h removed z80_optimize_expr; redundant since 2006-04-04 2006-04-09 18:08:08 +00:00
te-386bsd.h
te-aix5.h
te-armeabi.h
te-armlinuxeabi.h
te-dynix.h
te-epoc-pe.h
te-freebsd.h
te-generic.h
te-gnu.h * configure.tgt (i386-*-gnu*): Set em=gnu. 2005-11-16 03:44:10 +00:00
te-go32.h
te-hppa64.h
te-hppa.h
te-hppalinux64.h
te-hpux.h
te-i386aix.h
te-ia64aix.h
te-interix.h
te-irix.h
te-linux.h
te-lnews.h
te-lynx.h
te-mach.h
te-macos.h
te-nbsd532.h
te-nbsd.h
te-netware.h
te-pc532mach.h
te-pe.h
te-psos.h
te-riscix.h
te-sparcaout.h
te-sun3.h
te-svr4.h
te-symbian.h
te-tmips.h
te-vxworks.h
te-wince-pe.h
vax-inst.h
xtensa-istack.h * config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol 2006-01-31 19:36:57 +00:00
xtensa-relax.c * config/xtensa-relax.c (widen_spec_list): Use new "WIDE.<opcode>" 2006-04-25 17:11:10 +00:00
xtensa-relax.h