binutils-gdb/gas/config
Joseph Myers 59e6276b64 bfd:
* elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Decrease to 2.
	* elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type,
	elf32_tic6x_merge_arch_attributes, elf32_tic6x_merge_attributes,
	elf32_tic6x_merge_private_bfd_data): New.
	(bfd_elf32_bfd_merge_private_bfd_data,
	elf_backend_obj_attrs_arg_type, elf_backend_obj_attrs_section,
	elf_backend_obj_attrs_section_type, elf_backend_obj_attrs_vendor):
	Define.
	* elf32-tic6x.h (elf32_tic6x_merge_arch_attributes): Declare.

binutils:
	* readelf.c (display_tic6x_attribute, process_tic6x_specific):
	New.
	(process_arch_specific): Call process_tic6x_specific for
	EM_TI_C6000.

gas:
	* config/tc-tic6x.c: Include elf/tic6x.h.
	(tic6x_arch_attribute, tic6x_seen_insns): New.
	(tic6x_arch_table, tic6x_arches): Add attribute values.
	(tic6x_use_arch): Handle attribute settings.
	(tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
	tic6x_attribute_table, tic6x_attributes,
	tic6x_convert_symbolic_attribute): New.
	(md_pseudo_table): Add c6xabi_attribute.
	(md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
	(tic6x_set_attribute_int, tic6x_set_attributes): New.
	(tic6x_end): Call tic6x_set_attributes.
	* config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
	(tic6x_convert_symbolic_attribute): Declare.

gas/testsuite:
	* gas/elf/elf.exp: Set target_machine for tic6x-*-*.
	* gas/elf/section2.e-tic6x, gas/tic6x/attr-arch-directive-1.d,
	gas/tic6x/attr-arch-directive-1.s,
	gas/tic6x/attr-arch-directive-2.d,
	gas/tic6x/attr-arch-directive-2.s,
	gas/tic6x/attr-arch-directive-3.d,
	gas/tic6x/attr-arch-directive-3.s,
	gas/tic6x/attr-arch-directive-4.d,
	gas/tic6x/attr-arch-directive-4.s,
	gas/tic6x/attr-arch-directive-5.d,
	gas/tic6x/attr-arch-directive-5.s,
	gas/tic6x/attr-arch-opts-c62x.d, gas/tic6x/attr-arch-opts-c64x+.d,
	gas/tic6x/attr-arch-opts-c64x.d, gas/tic6x/attr-arch-opts-c674x.d,
	gas/tic6x/attr-arch-opts-c67x+.d, gas/tic6x/attr-arch-opts-c67x.d,
	gas/tic6x/attr-arch-opts-none-1.d,
	gas/tic6x/attr-arch-opts-none-2.d,
	gas/tic6x/attr-arch-opts-override-1.d,
	gas/tic6x/attr-arch-opts-override-2.d, gas/tic6x/empty.s: New.

include/elf:
	* tic6x-attrs.h: New.
	* tic6x.h: Include elf/tic6x-attrs.h for attribute table.
	(C6XABI_Tag_CPU_arch_none, C6XABI_Tag_CPU_arch_C62X,
	C6XABI_Tag_CPU_arch_C67X, C6XABI_Tag_CPU_arch_C67XP,
	C6XABI_Tag_CPU_arch_C64X, C6XABI_Tag_CPU_arch_C64XP,
	C6XABI_Tag_CPU_arch_C674X): Define.

ld:
	* emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define.

ld/testsuite:
	* ld-elf/orphan3.d: Allow section names starting '_'.
	* ld-tic6x/attr-arch-c62x-c62x.d, ld-tic6x/attr-arch-c62x-c64x+.d,
	ld-tic6x/attr-arch-c62x-c64x.d, ld-tic6x/attr-arch-c62x-c674x.d,
	ld-tic6x/attr-arch-c62x-c67x+.d, ld-tic6x/attr-arch-c62x-c67x.d,
	ld-tic6x/attr-arch-c62x.s, ld-tic6x/attr-arch-c64x+-c62x.d,
	ld-tic6x/attr-arch-c64x+-c64x+.d, ld-tic6x/attr-arch-c64x+-c64x.d,
	ld-tic6x/attr-arch-c64x+-c674x.d,
	ld-tic6x/attr-arch-c64x+-c67x+.d, ld-tic6x/attr-arch-c64x+-c67x.d,
	ld-tic6x/attr-arch-c64x+.s, ld-tic6x/attr-arch-c64x-c62x.d,
	ld-tic6x/attr-arch-c64x-c64x+.d, ld-tic6x/attr-arch-c64x-c64x.d,
	ld-tic6x/attr-arch-c64x-c674x.d, ld-tic6x/attr-arch-c64x-c67x+.d,
	ld-tic6x/attr-arch-c64x-c67x.d, ld-tic6x/attr-arch-c64x.s,
	ld-tic6x/attr-arch-c674x-c62x.d, ld-tic6x/attr-arch-c674x-c64x+.d,
	ld-tic6x/attr-arch-c674x-c64x.d, ld-tic6x/attr-arch-c674x-c674x.d,
	ld-tic6x/attr-arch-c674x-c67x+.d, ld-tic6x/attr-arch-c674x-c67x.d,
	ld-tic6x/attr-arch-c674x.s, ld-tic6x/attr-arch-c67x+-c62x.d,
	ld-tic6x/attr-arch-c67x+-c64x+.d, ld-tic6x/attr-arch-c67x+-c64x.d,
	ld-tic6x/attr-arch-c67x+-c674x.d,
	ld-tic6x/attr-arch-c67x+-c67x+.d, ld-tic6x/attr-arch-c67x+-c67x.d,
	ld-tic6x/attr-arch-c67x+.s, ld-tic6x/attr-arch-c67x-c62x.d,
	ld-tic6x/attr-arch-c67x-c64x+.d, ld-tic6x/attr-arch-c67x-c64x.d,
	ld-tic6x/attr-arch-c67x-c674x.d, ld-tic6x/attr-arch-c67x-c67x+.d,
	ld-tic6x/attr-arch-c67x-c67x.d, ld-tic6x/attr-arch-c67x.s: New.
2010-06-16 00:36:04 +00:00
..
aout_gnu.h update copyright dates 2009-09-02 07:25:43 +00:00
atof-ieee.c PR 10437 2009-07-24 11:45:01 +00:00
atof-vax.c
bfin-aux.h * config/bfin-aux.h: Remove argument names in function 2010-01-14 04:52:57 +00:00
bfin-defs.h strip trailing whitespace in Blackfin files 2010-03-10 14:23:58 +00:00
bfin-lex.l gas: bfin: replace index() with strchr() 2010-04-20 07:10:31 +00:00
bfin-parse.y strip trailing whitespace in Blackfin files 2010-03-10 14:23: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 update copyright dates 2009-09-02 07:25:43 +00:00
m68k-parse.h * config/m68k-parse.h (enum m68k_register): Add ACR[4-7], RGPIOBAR. 2009-11-10 18:05:24 +00:00
m68k-parse.y update copyright dates 2009-09-02 07:25:43 +00:00
obj-aout.c * ecoff.c (ecoff_symbol_clone_hook): New function. 2009-11-02 11:49:48 +00:00
obj-aout.h Update soruces to make alpha, arc and arm targets compile cleanly 2009-09-25 19:13:27 +00:00
obj-coff-seh.c * config/obj-coff-seh.c (seh_arm_write_pdata): Test for 2009-08-26 08:26:53 +00:00
obj-coff-seh.h 2009-08-18 Kai Tietz <kai.tietz@onevision.com> 2009-08-18 16:44:35 +00:00
obj-coff.c gas/ChangeLog: 2010-01-27 22:01:38 +00:00
obj-coff.h * config/obj-coff.h (USE_UNIQUE): Don't define. 2009-09-09 13:19:51 +00:00
obj-ecoff.c * ecoff.c (ecoff_symbol_clone_hook): New function. 2009-11-02 11:49:48 +00:00
obj-ecoff.h * ecoff.c (ecoff_symbol_clone_hook): New function. 2009-11-02 11:49:48 +00:00
obj-elf.c Implement generic SHF_EXCLUDE. 2010-05-18 03:31:07 +00:00
obj-elf.h * config/tc-h8300.c (h8300_elf_section): New function - issue a 2010-01-13 14:08:54 +00:00
obj-evax.c 2010-05-31 Tristan Gingold <gingold@adacore.com> 2010-05-31 15:53:13 +00:00
obj-evax.h update copyright dates 2009-09-02 07:25:43 +00:00
obj-fdpicelf.c 2008-04-23 Mike Frysinger <vapier@gentoo.org> 2008-04-23 18:40:34 +00:00
obj-fdpicelf.h 2008-04-23 Mike Frysinger <vapier@gentoo.org> 2008-04-23 18:40:34 +00:00
obj-macho.c 2009-07-02 Tristan Gingold <gingold@adacore.com> 2009-07-02 08:09:35 +00:00
obj-macho.h 2009-07-02 Tristan Gingold <gingold@adacore.com> 2009-07-02 08:09:35 +00:00
obj-multi.c update copyright dates 2009-09-02 07:25:43 +00:00
obj-multi.h * ecoff.c (ecoff_symbol_clone_hook): New function. 2009-11-02 11:49:48 +00:00
obj-som.c update copyright dates 2009-09-02 07:25:43 +00:00
obj-som.h bfd/ 2010-06-10 08:51:46 +00:00
rx-defs.h bfd 2009-09-29 14:17:19 +00:00
rx-parse.y [opcodes] 2009-11-05 00:38:45 +00:00
tc-alpha.c 2010-05-31 Tristan Gingold <gingold@adacore.com> 2010-05-31 15:53:13 +00:00
tc-alpha.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-arc.c Update soruces to make alpha, arc and arm targets compile cleanly 2009-09-25 19:13:27 +00:00
tc-arc.h
tc-arm.c * gas/config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum 2010-06-09 15:11:51 +00:00
tc-arm.h * write.c (fixup_segment): Revert previous delta. 2010-05-04 16:21:07 +00:00
tc-avr.c 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com> 2010-04-09 03:48:54 +00:00
tc-avr.h 2009-10-27 Tristan Gingold <gingold@adacore.com> 2009-10-27 15:39:27 +00:00
tc-bfin.c strip trailing whitespace in Blackfin files 2010-03-10 14:23:58 +00:00
tc-bfin.h strip trailing whitespace in Blackfin files 2010-03-10 14:23:58 +00:00
tc-cr16.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-cr16.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-cris.c update copyright dates 2009-09-02 07:25:43 +00:00
tc-cris.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-crx.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-crx.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-d10v.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-d10v.h gas/ 2009-09-10 14:31:23 +00:00
tc-d30v.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-d30v.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-dlx.c * read.c (emit_expr_fix): Handle size 3. 2009-09-08 10:36:39 +00:00
tc-dlx.h
tc-fr30.c PR 10437 2009-07-24 11:45:01 +00:00
tc-fr30.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-frv.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-frv.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-generic.c update copyright dates 2009-09-02 07:25:43 +00:00
tc-generic.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-h8300.c * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list 2010-05-19 10:47:49 +00:00
tc-h8300.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-hppa.c PR gas/11395 2010-04-16 11:20:41 +00:00
tc-hppa.h binutils/3807 2009-03-03 23:21:52 +00:00
tc-i370.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-i370.h
tc-i386-intel.c Restore "call|jmp [xtrn]" in x86 assembler. 2010-04-24 17:41:04 +00:00
tc-i386.c gas/ 2010-06-11 15:07:53 +00:00
tc-i386.h * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define. 2010-03-08 14:07:45 +00:00
tc-i860.c * read.c (emit_expr_fix): Handle size 3. 2009-09-08 10:36:39 +00:00
tc-i860.h
tc-i960.c PR 10437 2009-07-24 11:45:01 +00:00
tc-i960.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-ia64.c gas/ 2010-02-12 14:34:45 +00:00
tc-ia64.h bfd: 2010-03-25 21:12:36 +00:00
tc-ip2k.c update copyright dates 2009-09-02 07:25:43 +00:00
tc-ip2k.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-iq2000.c update copyright dates 2009-09-02 07:25:43 +00:00
tc-iq2000.h
tc-lm32.c * config/tc-lm32.c (md_begin): Add missing call to bfd_set_arch_mach. 2009-10-19 15:30:06 +00:00
tc-lm32.h Add LM32 port. 2008-12-23 19:10:25 +00:00
tc-m32c.c 2009-10-29 Tristan Gingold <gingold@adacore.com> 2009-10-29 09:43:18 +00:00
tc-m32c.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-m32r.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-m32r.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-m68hc11.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-m68hc11.h
tc-m68k.c * config/m68k-parse.h (enum m68k_register): Add ACR[4-7], RGPIOBAR. 2009-11-10 18:05:24 +00:00
tc-m68k.h 2009-11-04 Daniel Jacobowitz <dan@codesourcery.com> 2009-11-04 09:52:00 +00:00
tc-m68851.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-maxq.c update copyright dates 2009-09-02 07:25:43 +00:00
tc-maxq.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-mcore.c update copyright dates 2009-09-02 07:25:43 +00:00
tc-mcore.h
tc-mep.c 2009-10-29 Tristan Gingold <gingold@adacore.com> 2009-10-29 09:43:18 +00:00
tc-mep.h * read.c (TC_START_LABEL): Add a new argument. 2009-09-01 00:24:02 +00:00
tc-microblaze.c * config/tc-microblaze.c (md_assemble): Rename 'imm' to 'immed' in 2009-12-14 09:50:18 +00:00
tc-microblaze.h Add support for Xilinx MicroBlaze processor. 2009-08-06 17:38:04 +00:00
tc-mips.c gas/ 2010-05-26 12:59:56 +00:00
tc-mips.h * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop, 2010-02-25 11:15:48 +00:00
tc-mmix.c PR gas/10623 2009-09-10 22:26:36 +00:00
tc-mmix.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-mn10200.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-mn10200.h
tc-mn10300.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-mn10300.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-moxie.c moxie fixes in gas. 2009-08-26 18:27:36 +00:00
tc-moxie.h Add new binutils target: moxie 2009-04-16 15:39:48 +00:00
tc-msp430.c update copyright dates 2009-09-02 07:25:43 +00:00
tc-msp430.h
tc-mt.c
tc-mt.h
tc-ns32k.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-ns32k.h
tc-openrisc.c PR 10437 2009-07-24 11:45:01 +00:00
tc-openrisc.h
tc-or32.c update copyright dates 2009-09-02 07:25:43 +00:00
tc-or32.h
tc-pdp11.c Updated sources to avoid using the identifier name "new", which is a 2009-08-29 22:11:02 +00:00
tc-pdp11.h
tc-pj.c * read.c (emit_expr_fix): Handle size 3. 2009-09-08 10:36:39 +00:00
tc-pj.h
tc-ppc.c gas/ 2010-06-14 14:48:05 +00:00
tc-ppc.h Implement generic SHF_EXCLUDE. 2010-05-18 03:31:07 +00:00
tc-rx.c PR gas/11089 2009-12-14 10:59:37 +00:00
tc-rx.h bfd 2009-09-29 14:17:19 +00:00
tc-s390.c 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2010-01-21 11:40:28 +00:00
tc-s390.h 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2010-01-21 11:40:28 +00:00
tc-score7.c 2010-03-01 Tristan Gingold <gingold@adacore.com> 2010-03-01 16:47:52 +00:00
tc-score.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-score.h Add support for Score7 architecture. 2009-03-02 10:33:08 +00:00
tc-sh64.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-sh64.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-sh.c 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
tc-sh.h 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
tc-sparc.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-sparc.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-spu.c 2009-10-29 Tristan Gingold <gingold@adacore.com> 2009-10-29 09:43:18 +00:00
tc-spu.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-tic4x.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-tic4x.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-tic6x.c bfd: 2010-06-16 00:36:04 +00:00
tc-tic6x.h bfd: 2010-06-16 00:36:04 +00:00
tc-tic30.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-tic30.h
tc-tic54x.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-tic54x.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-v850.c 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org> 2010-03-13 15:54:21 +00:00
tc-v850.h
tc-vax.c * read.c (emit_expr_fix): Handle size 3. 2009-09-08 10:36:39 +00:00
tc-vax.h
tc-xc16x.c * config/tc-xc16x.c (md_cgen_lookup_reloc): Ensure fix_size is set 2009-10-19 15:27:39 +00:00
tc-xc16x.h
tc-xstormy16.c PR 10437 2009-07-24 11:45:01 +00:00
tc-xstormy16.h
tc-xtensa.c 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com> 2010-02-11 19:08:09 +00:00
tc-xtensa.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-z8k.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-z8k.h
tc-z80.c * config/tc-z80.c (z80_start_line_hook): Fix parsing of 'equ' or 2009-10-25 16:15:19 +00:00
tc-z80.h update copyright dates 2009-09-02 07:25:43 +00:00
te-386bsd.h update copyright dates 2009-09-02 07:25:43 +00:00
te-aix5.h
te-armeabi.h update copyright dates 2009-09-02 07:25:43 +00:00
te-armlinuxeabi.h update copyright dates 2009-09-02 07:25:43 +00:00
te-dynix.h
te-epoc-pe.h
te-freebsd.h update copyright dates 2009-09-02 07:25:43 +00:00
te-generic.h
te-gnu.h update copyright dates 2009-09-02 07:25:43 +00:00
te-go32.h update copyright dates 2009-09-02 07:25:43 +00:00
te-hppa64.h
te-hppa.h update copyright dates 2009-09-02 07:25:43 +00:00
te-hppalinux64.h
te-hpux.h
te-i386aix.h bfd/ 2010-01-23 12:05:33 +00:00
te-ia64aix.h
te-interix.h
te-irix.h update copyright dates 2009-09-02 07:25:43 +00:00
te-linux.h
te-lnews.h
te-lynx.h
te-mach.h
te-macos.h
te-nbsd532.h
te-nbsd.h update copyright dates 2009-09-02 07:25:43 +00:00
te-netware.h update copyright dates 2009-09-02 07:25:43 +00:00
te-pc532mach.h
te-pe.h
te-pep.h update copyright dates 2009-09-02 07:25:43 +00:00
te-psos.h
te-riscix.h
te-solaris.h * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only 2010-01-21 20:58:34 +00:00
te-sparcaout.h update copyright dates 2009-09-02 07:25:43 +00:00
te-sun3.h update copyright dates 2009-09-02 07:25:43 +00:00
te-svr4.h
te-symbian.h update copyright dates 2009-09-02 07:25:43 +00:00
te-tmips.h update copyright dates 2009-09-02 07:25:43 +00:00
te-uclinux.h 2009-11-04 Daniel Jacobowitz <dan@codesourcery.com> 2009-11-04 09:52:00 +00:00
te-vms.c bfd/: 2009-09-07 09:15:31 +00:00
te-vms.h bfd/: 2009-09-07 09:15:31 +00:00
te-vxworks.h
te-wince-pe.h
vax-inst.h update copyright dates 2009-09-02 07:25:43 +00:00
xtensa-istack.h update copyright dates 2009-09-02 07:25:43 +00:00
xtensa-relax.c update copyright dates 2009-09-02 07:25:43 +00:00
xtensa-relax.h update copyright dates 2009-09-02 07:25:43 +00:00