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
..
2009-09-23 13:54:29 +00:00
2009-09-23 13:54:29 +00:00
2006-07-12 15:45:33 +00:00
2007-02-14 14:15:52 +00:00
2009-09-02 07:25:43 +00:00
2008-09-16 14:09:34 +00:00
2006-06-01 05:40:24 +00:00
2009-08-30 05:48:56 +00:00
2007-01-16 14:56:32 +00:00
2009-09-23 13:54:29 +00:00
2009-09-23 13:54:29 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2006-09-07 17:16:34 +00:00
2007-01-16 14:56:32 +00:00
2007-01-16 14:56:32 +00:00
ld/
2007-01-19 15:13:29 +00:00
ld/
2007-01-19 15:13:29 +00:00
ld/
2007-01-19 15:13:29 +00:00
ld/
2007-01-19 15:13:29 +00:00
ld/
2007-01-19 15:13:29 +00:00
ld/
2007-01-19 15:13:29 +00:00
ld/
2007-01-19 15:13:29 +00:00
2006-10-19 02:40:14 +00:00
2006-10-19 02:40:14 +00:00
2006-10-19 02:40:14 +00:00
2006-10-19 02:40:14 +00:00
2006-10-19 02:40:14 +00:00
2007-07-06 14:09:45 +00:00
2010-01-11 14:45:42 +00:00
2006-11-21 11:25:17 +00:00
2009-09-21 19:11:50 +00:00
2008-01-09 09:36:11 +00:00
2006-12-04 08:57:09 +00:00
2009-02-01 12:05:25 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2005-10-24 07:48:47 +00:00
2006-07-12 15:45:33 +00:00
2006-07-12 15:45:33 +00:00
2006-07-12 15:45:33 +00:00
2005-02-21 08:39:53 +00:00
2010-05-18 03:31:07 +00:00
2010-05-18 03:31:07 +00:00
2010-05-18 03:31:07 +00:00
2010-05-18 03:31:07 +00:00
2009-09-02 07:25:43 +00:00
ld/
2007-04-02 16:32:04 +00:00
ld/
2007-04-02 16:32:04 +00:00
ld/
2007-04-02 16:32:04 +00:00
2007-03-08 17:54:29 +00:00
2007-03-01 16:39:42 +00:00
2010-04-22 01:51:01 +00:00
2010-03-25 21:12:36 +00:00
2006-07-12 15:45:33 +00:00
2006-07-12 15:45:33 +00:00
2009-09-02 07:25:43 +00:00
2008-09-16 14:09:34 +00:00
2005-10-20 17:06:41 +00:00
2006-12-07 13:32:02 +00:00
2006-12-07 13:32:02 +00:00
2008-10-03 15:08:22 +00:00
2008-10-03 15:08:22 +00:00
2009-01-14 21:52:49 +00:00
2010-02-19 01:47:16 +00:00
2010-02-19 01:47:16 +00:00
2010-02-19 01:47:16 +00:00
2006-07-12 15:45:33 +00:00
2007-03-07 08:54:35 +00:00
2007-03-07 08:54:35 +00:00
2009-01-11 21:09:49 +00:00
2009-01-11 21:09:49 +00:00
2009-01-11 21:09:49 +00:00
2008-05-05 01:43:55 +00:00
2008-05-05 01:43:55 +00:00
2006-08-29 01:24:17 +00:00
2009-10-07 18:33:20 +00:00
2009-10-07 18:33:20 +00:00
2009-10-07 18:33:20 +00:00
2006-07-12 15:45:33 +00:00
2006-06-01 05:40:24 +00:00
2006-06-01 05:40:24 +00:00
2006-06-01 05:40:24 +00:00
ld/
2007-01-19 15:06:27 +00:00
ld/
2007-01-19 15:06:27 +00:00
ld/
2007-01-19 15:06:27 +00:00
ld/
2007-01-19 15:06:27 +00:00
2009-08-30 05:48:56 +00:00
2009-08-30 05:48:56 +00:00
2010-03-25 21:12:36 +00:00
2007-05-10 14:46:48 +00:00
2007-01-16 14:56:32 +00:00
ld/
2006-08-01 17:50:52 +00:00
ld/
2006-08-01 17:50:52 +00:00
ld/
2006-08-01 17:50:52 +00:00
2008-01-07 16:45:35 +00:00
2008-01-07 16:45:35 +00:00
2008-01-07 16:45:35 +00:00
2006-07-12 15:45:33 +00:00
2007-03-22 15:50:38 +00:00
2007-03-22 15:50:38 +00:00
2007-12-24 16:58:23 +00:00
2007-12-24 16:58:23 +00:00
2007-12-24 16:58:23 +00:00
2006-10-17 13:41:49 +00:00
2010-06-16 00:36:04 +00:00
2010-03-16 14:18:06 +00:00
2006-10-17 13:41:49 +00:00
ld/
2007-03-24 06:49:03 +00:00
2009-01-02 16:48:11 +00:00
2009-01-02 16:48:11 +00:00
2009-01-02 16:48:11 +00:00
2009-01-02 16:48:11 +00:00
2009-09-24 15:56:52 +00:00
2009-01-02 19:29:38 +00:00
2009-01-02 19:29:38 +00:00
2009-09-24 15:56:52 +00:00
2010-01-08 03:03:16 +00:00
2010-01-08 03:03:16 +00:00
2010-01-08 03:03:16 +00:00
2010-01-08 03:03:16 +00:00
2010-01-08 03:03:16 +00:00
2010-03-19 14:49:46 +00:00
2010-03-19 14:49:46 +00:00
2010-03-19 14:49:46 +00:00
2007-09-18 00:25:07 +00:00
2007-09-18 00:25:07 +00:00
2010-03-25 21:12:36 +00:00
2007-12-19 10:22:02 +00:00
2007-12-19 10:22:02 +00:00
2010-01-08 03:03:16 +00:00
2006-06-01 05:40:24 +00:00
2006-06-01 05:40:24 +00:00
2005-03-22 14:20:38 +00:00
2006-06-01 05:40:24 +00:00
2006-06-01 05:40:24 +00:00
ld/
2009-01-16 14:14:07 +00:00
ld/
2009-01-16 14:14:07 +00:00
2007-08-28 13:21:58 +00:00
2007-11-20 16:58:47 +00:00
2005-10-20 17:06:41 +00:00
2007-02-14 14:15:52 +00:00
2007-07-23 09:56:19 +00:00
ld/
2007-07-29 12:33:38 +00:00
2006-12-29 17:56:32 +00:00
2006-12-29 17:56:32 +00:00
2006-12-29 17:56:32 +00:00
2006-12-29 17:56:32 +00:00
2007-07-06 14:09:45 +00:00