old-cross-binutils/ld/testsuite/ld-tic6x
Joseph Myers 877791769e bfd:
* elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type): Except for
	Tag_ABI_compatibility, treat odd tags as strings and even ones as
	integers.
	(elf32_tic6x_obj_attrs_order, elf32_tic6x_tag_to_array_alignment,
	elf32_tic6x_array_alignment_to_tag): New.
	(elf32_tic6x_merge_attributes): Handle more attributes.  Set type
	for merged attributes.
	(elf_backend_obj_attrs_order): Define.

binutils:
	* readelf.c (display_tic6x_attribute): Handle more attributes.

gas:
	* config/tc-tic6x.c (OPTION_MPID, OPTION_MPIC, OPTION_MNO_PIC):
	New enum values.
	(md_longopts): Add options mpid, mpic and mno-pic.
	(tic6x_pid_type, tic6x_pid, tic6x_pic, tic6x_pid_type_table,
	tic6x_pid_types, tic6x_use_pid): New.
	(md_parse_option): Handle new options.
	(md_show_usage): Output help text for new options.
	(tic6x_set_attributes): Set PID and PIC attributes.
	* doc/as.texinfo: Document -mpid=, -mpic and -mno-pic.
	* doc/c-tic6x.texi (TIC6X Options): Likewise.

gas/testsuite:
	* gas/tic6x/attr-array-directive-1.d,
	gas/tic6x/attr-array-directive-1.s,
	gas/tic6x/attr-array-directive-2.d,
	gas/tic6x/attr-array-directive-2.s,
	gas/tic6x/attr-array-directive-3.d,
	gas/tic6x/attr-array-directive-3.s,
	gas/tic6x/attr-array-directive-4.d,
	gas/tic6x/attr-array-directive-4.s,
	gas/tic6x/attr-conformance-directive-1.d,
	gas/tic6x/attr-conformance-directive-1.s,
	gas/tic6x/attr-conformance-directive-2.d,
	gas/tic6x/attr-conformance-directive-2.s,
	gas/tic6x/attr-pic-directive-1.d,
	gas/tic6x/attr-pic-directive-1.s,
	gas/tic6x/attr-pic-directive-2.d,
	gas/tic6x/attr-pic-directive-2.s,
	gas/tic6x/attr-pic-opts-mno-pic.d, gas/tic6x/attr-pic-opts-mpic.d,
	gas/tic6x/attr-pid-directive-1.d,
	gas/tic6x/attr-pid-directive-1.s,
	gas/tic6x/attr-pid-directive-2.d,
	gas/tic6x/attr-pid-directive-2.s,
	gas/tic6x/attr-pid-opts-mpid-far.d,
	gas/tic6x/attr-pid-opts-mpid-near.d,
	gas/tic6x/attr-pid-opts-mpid-no.d,
	gas/tic6x/attr-stack-directive-1.d,
	gas/tic6x/attr-stack-directive-1.s,
	gas/tic6x/attr-stack-directive-2.d,
	gas/tic6x/attr-stack-directive-2.s,
	gas/tic6x/attr-wchar-directive-1.d,
	gas/tic6x/attr-wchar-directive-1.s,
	gas/tic6x/attr-wchar-directive-2.d,
	gas/tic6x/attr-wchar-directive-2.s: New tests.

include/elf:
	* tic6x-attrs.h (Tag_ABI_wchar_t, Tag_ABI_stack_align_needed,
	Tag_ABI_stack_align_preserved, Tag_ABI_PID, Tag_ABI_PIC,
	Tag_ABI_array_object_alignment,
	Tag_ABI_array_object_align_expected, Tag_ABI_conformance): Define.

ld/testsuite:
	* ld-tic6x/attr-array-16-16.d, ld-tic6x/attr-array-16-4.d,
	ld-tic6x/attr-array-16-416.d, ld-tic6x/attr-array-16-48.d,
	ld-tic6x/attr-array-16-8.d, ld-tic6x/attr-array-16-816.d,
	ld-tic6x/attr-array-16.s, ld-tic6x/attr-array-4-16.d,
	ld-tic6x/attr-array-4-4.d, ld-tic6x/attr-array-4-416.d,
	ld-tic6x/attr-array-4-48.d, ld-tic6x/attr-array-4-8.d,
	ld-tic6x/attr-array-4-816.d, ld-tic6x/attr-array-4.s,
	ld-tic6x/attr-array-416-16.d, ld-tic6x/attr-array-416-4.d,
	ld-tic6x/attr-array-416-416.d, ld-tic6x/attr-array-416-48.d,
	ld-tic6x/attr-array-416-8.d, ld-tic6x/attr-array-416-816.d,
	ld-tic6x/attr-array-416.s, ld-tic6x/attr-array-48-16.d,
	ld-tic6x/attr-array-48-4.d, ld-tic6x/attr-array-48-416.d,
	ld-tic6x/attr-array-48-48.d, ld-tic6x/attr-array-48-8.d,
	ld-tic6x/attr-array-48-816.d, ld-tic6x/attr-array-48.s,
	ld-tic6x/attr-array-8-16.d, ld-tic6x/attr-array-8-4.d,
	ld-tic6x/attr-array-8-416.d, ld-tic6x/attr-array-8-48.d,
	ld-tic6x/attr-array-8-8.d, ld-tic6x/attr-array-8-816.d,
	ld-tic6x/attr-array-8.s, ld-tic6x/attr-array-816-16.d,
	ld-tic6x/attr-array-816-4.d, ld-tic6x/attr-array-816-416.d,
	ld-tic6x/attr-array-816-48.d, ld-tic6x/attr-array-816-8.d,
	ld-tic6x/attr-array-816-816.d, ld-tic6x/attr-array-816.s,
	ld-tic6x/attr-conformance-10-10.d,
	ld-tic6x/attr-conformance-10-11.d,
	ld-tic6x/attr-conformance-10-none.d,
	ld-tic6x/attr-conformance-10.s, ld-tic6x/attr-conformance-11-10.d,
	ld-tic6x/attr-conformance-11-11.d,
	ld-tic6x/attr-conformance-11-none.d,
	ld-tic6x/attr-conformance-11.s,
	ld-tic6x/attr-conformance-none-10.d,
	ld-tic6x/attr-conformance-none-11.d,
	ld-tic6x/attr-conformance-none-none.d,
	ld-tic6x/attr-conformance-none.s, ld-tic6x/attr-pic-0.s,
	ld-tic6x/attr-pic-00.d, ld-tic6x/attr-pic-01.d,
	ld-tic6x/attr-pic-1.s, ld-tic6x/attr-pic-10.d,
	ld-tic6x/attr-pic-11.d, ld-tic6x/attr-pid-0.s,
	ld-tic6x/attr-pid-00.d, ld-tic6x/attr-pid-01.d,
	ld-tic6x/attr-pid-02.d, ld-tic6x/attr-pid-1.s,
	ld-tic6x/attr-pid-10.d, ld-tic6x/attr-pid-11.d,
	ld-tic6x/attr-pid-12.d, ld-tic6x/attr-pid-2.s,
	ld-tic6x/attr-pid-20.d, ld-tic6x/attr-pid-21.d,
	ld-tic6x/attr-pid-22.d, ld-tic6x/attr-stack-16-16.d,
	ld-tic6x/attr-stack-16-8.d, ld-tic6x/attr-stack-16-816.d,
	ld-tic6x/attr-stack-16.s, ld-tic6x/attr-stack-8-16.d,
	ld-tic6x/attr-stack-8-8.d, ld-tic6x/attr-stack-8-816.d,
	ld-tic6x/attr-stack-8.s, ld-tic6x/attr-stack-816-16.d,
	ld-tic6x/attr-stack-816-8.d, ld-tic6x/attr-stack-816-816.d,
	ld-tic6x/attr-stack-816.s, ld-tic6x/attr-wchar-0.s,
	ld-tic6x/attr-wchar-00.d, ld-tic6x/attr-wchar-01.d,
	ld-tic6x/attr-wchar-02.d, ld-tic6x/attr-wchar-1.s,
	ld-tic6x/attr-wchar-10.d, ld-tic6x/attr-wchar-11.d,
	ld-tic6x/attr-wchar-12.d, ld-tic6x/attr-wchar-2.s,
	ld-tic6x/attr-wchar-20.d, ld-tic6x/attr-wchar-21.d,
	ld-tic6x/attr-wchar-22.d: New tests.
2010-11-02 14:36:39 +00:00
..
attr-arch-c62x-c62x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c62x-c64x+.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c62x-c64x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c62x-c67x+.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c62x-c67x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c62x-c674x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c62x.s bfd: 2010-06-16 00:36:04 +00:00
attr-arch-c64x+-c62x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c64x+-c64x+.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c64x+-c64x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c64x+-c67x+.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c64x+-c67x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c64x+-c674x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c64x+.s bfd: 2010-06-16 00:36:04 +00:00
attr-arch-c64x-c62x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c64x-c64x+.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c64x-c64x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c64x-c67x+.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c64x-c67x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c64x-c674x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c64x.s bfd: 2010-06-16 00:36:04 +00:00
attr-arch-c67x+-c62x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c67x+-c64x+.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c67x+-c64x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c67x+-c67x+.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c67x+-c67x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c67x+-c674x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c67x+.s bfd: 2010-06-16 00:36:04 +00:00
attr-arch-c67x-c62x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c67x-c64x+.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c67x-c64x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c67x-c67x+.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c67x-c67x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c67x-c674x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c67x.s bfd: 2010-06-16 00:36:04 +00:00
attr-arch-c674x-c62x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c674x-c64x+.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c674x-c64x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c674x-c67x+.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c674x-c67x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c674x-c674x.d bfd: 2010-10-21 21:16:54 +00:00
attr-arch-c674x.s bfd: 2010-06-16 00:36:04 +00:00
attr-array-4-4.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-4-8.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-4-16.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-4-48.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-4-416.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-4-816.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-4.s bfd: 2010-11-02 14:36:39 +00:00
attr-array-8-4.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-8-8.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-8-16.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-8-48.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-8-416.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-8-816.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-8.s bfd: 2010-11-02 14:36:39 +00:00
attr-array-16-4.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-16-8.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-16-16.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-16-48.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-16-416.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-16-816.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-16.s bfd: 2010-11-02 14:36:39 +00:00
attr-array-48-4.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-48-8.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-48-16.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-48-48.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-48-416.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-48-816.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-48.s bfd: 2010-11-02 14:36:39 +00:00
attr-array-416-4.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-416-8.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-416-16.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-416-48.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-416-416.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-416-816.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-416.s bfd: 2010-11-02 14:36:39 +00:00
attr-array-816-4.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-816-8.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-816-16.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-816-48.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-816-416.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-816-816.d bfd: 2010-11-02 14:36:39 +00:00
attr-array-816.s bfd: 2010-11-02 14:36:39 +00:00
attr-compatibility-gnu-gnu.d bfd: 2010-10-29 16:47:55 +00:00
attr-compatibility-gnu-other.d bfd: 2010-10-29 16:47:55 +00:00
attr-compatibility-gnu.s bfd: 2010-10-29 16:47:55 +00:00
attr-compatibility-other-gnu.d bfd: 2010-10-29 16:47:55 +00:00
attr-compatibility-other-other.d bfd: 2010-10-29 16:47:55 +00:00
attr-compatibility-other.s bfd: 2010-10-29 16:47:55 +00:00
attr-conformance-10-10.d bfd: 2010-11-02 14:36:39 +00:00
attr-conformance-10-11.d bfd: 2010-11-02 14:36:39 +00:00
attr-conformance-10-none.d bfd: 2010-11-02 14:36:39 +00:00
attr-conformance-10.s bfd: 2010-11-02 14:36:39 +00:00
attr-conformance-11-10.d bfd: 2010-11-02 14:36:39 +00:00
attr-conformance-11-11.d bfd: 2010-11-02 14:36:39 +00:00
attr-conformance-11-none.d bfd: 2010-11-02 14:36:39 +00:00
attr-conformance-11.s bfd: 2010-11-02 14:36:39 +00:00
attr-conformance-none-10.d bfd: 2010-11-02 14:36:39 +00:00
attr-conformance-none-11.d bfd: 2010-11-02 14:36:39 +00:00
attr-conformance-none-none.d bfd: 2010-11-02 14:36:39 +00:00
attr-conformance-none.s bfd: 2010-11-02 14:36:39 +00:00
attr-dsbt-00.d bfd: 2010-10-29 00:15:59 +00:00
attr-dsbt-0.s bfd: 2010-10-29 00:15:59 +00:00
attr-dsbt-01.d bfd: 2010-10-29 00:15:59 +00:00
attr-dsbt-1.s bfd: 2010-10-29 00:15:59 +00:00
attr-dsbt-10.d bfd: 2010-10-29 00:15:59 +00:00
attr-dsbt-11.d bfd: 2010-10-29 00:15:59 +00:00
attr-pic-00.d bfd: 2010-11-02 14:36:39 +00:00
attr-pic-0.s bfd: 2010-11-02 14:36:39 +00:00
attr-pic-01.d bfd: 2010-11-02 14:36:39 +00:00
attr-pic-1.s bfd: 2010-11-02 14:36:39 +00:00
attr-pic-10.d bfd: 2010-11-02 14:36:39 +00:00
attr-pic-11.d bfd: 2010-11-02 14:36:39 +00:00
attr-pid-00.d bfd: 2010-11-02 14:36:39 +00:00
attr-pid-0.s bfd: 2010-11-02 14:36:39 +00:00
attr-pid-01.d bfd: 2010-11-02 14:36:39 +00:00
attr-pid-1.s bfd: 2010-11-02 14:36:39 +00:00
attr-pid-02.d bfd: 2010-11-02 14:36:39 +00:00
attr-pid-2.s bfd: 2010-11-02 14:36:39 +00:00
attr-pid-10.d bfd: 2010-11-02 14:36:39 +00:00
attr-pid-11.d bfd: 2010-11-02 14:36:39 +00:00
attr-pid-12.d bfd: 2010-11-02 14:36:39 +00:00
attr-pid-20.d bfd: 2010-11-02 14:36:39 +00:00
attr-pid-21.d bfd: 2010-11-02 14:36:39 +00:00
attr-pid-22.d bfd: 2010-11-02 14:36:39 +00:00
attr-stack-8-8.d bfd: 2010-11-02 14:36:39 +00:00
attr-stack-8-16.d bfd: 2010-11-02 14:36:39 +00:00
attr-stack-8-816.d bfd: 2010-11-02 14:36:39 +00:00
attr-stack-8.s bfd: 2010-11-02 14:36:39 +00:00
attr-stack-16-8.d bfd: 2010-11-02 14:36:39 +00:00
attr-stack-16-16.d bfd: 2010-11-02 14:36:39 +00:00
attr-stack-16-816.d bfd: 2010-11-02 14:36:39 +00:00
attr-stack-16.s bfd: 2010-11-02 14:36:39 +00:00
attr-stack-816-8.d bfd: 2010-11-02 14:36:39 +00:00
attr-stack-816-16.d bfd: 2010-11-02 14:36:39 +00:00
attr-stack-816-816.d bfd: 2010-11-02 14:36:39 +00:00
attr-stack-816.s bfd: 2010-11-02 14:36:39 +00:00
attr-wchar-00.d bfd: 2010-11-02 14:36:39 +00:00
attr-wchar-0.s bfd: 2010-11-02 14:36:39 +00:00
attr-wchar-01.d bfd: 2010-11-02 14:36:39 +00:00
attr-wchar-1.s bfd: 2010-11-02 14:36:39 +00:00
attr-wchar-02.d bfd: 2010-11-02 14:36:39 +00:00
attr-wchar-2.s bfd: 2010-11-02 14:36:39 +00:00
attr-wchar-10.d bfd: 2010-11-02 14:36:39 +00:00
attr-wchar-11.d bfd: 2010-11-02 14:36:39 +00:00
attr-wchar-12.d bfd: 2010-11-02 14:36:39 +00:00
attr-wchar-20.d bfd: 2010-11-02 14:36:39 +00:00
attr-wchar-21.d bfd: 2010-11-02 14:36:39 +00:00
attr-wchar-22.d bfd: 2010-11-02 14:36:39 +00:00
data-reloc-global-rel.d
data-reloc-global-rel.s
data-reloc-global.d
data-reloc-global.s
data-reloc-local-1.s
data-reloc-local-2.s
data-reloc-local-r-rel.d
data-reloc-local-r.d
data-reloc-local-rel.d
data-reloc-local.d
generic.ld
mvk-reloc-global-rel.d
mvk-reloc-global-rel.s
mvk-reloc-global.d
mvk-reloc-global.s
mvk-reloc-local-1-rel.s
mvk-reloc-local-1.s
mvk-reloc-local-2-rel.s
mvk-reloc-local-2.s
mvk-reloc-local-r-rel.d
mvk-reloc-local-r.d
mvk-reloc-local-rel.d
mvk-reloc-local.d
pcrel-reloc-global-rel.d
pcrel-reloc-global.d
pcrel-reloc-global.s
pcrel-reloc-local-1.s
pcrel-reloc-local-2.s
pcrel-reloc-local-r-rel-rela.d bfd/ 2010-09-23 16:16:38 +00:00
pcrel-reloc-local-r-rel.d
pcrel-reloc-local-r.d
pcrel-reloc-local-rel.d
pcrel-reloc-local.d
reloc-overflow-abs-s16-1.d
reloc-overflow-abs-s16-2.d
reloc-overflow-abs-s16.s
reloc-overflow-abs8-1.d
reloc-overflow-abs8-2.d
reloc-overflow-abs8.s
reloc-overflow-abs16-1.d
reloc-overflow-abs16-2.d
reloc-overflow-abs16.s
reloc-overflow-pcr-s7-1.d
reloc-overflow-pcr-s7-2.d
reloc-overflow-pcr-s7.s
reloc-overflow-pcr-s10-1.d
reloc-overflow-pcr-s10-2.d
reloc-overflow-pcr-s10.s
reloc-overflow-pcr-s12-1.d
reloc-overflow-pcr-s12-2.d
reloc-overflow-pcr-s12.s
reloc-overflow-pcr-s21-1.d
reloc-overflow-pcr-s21-2.d
reloc-overflow-pcr-s21.s
reloc-overflow-sbr-s16-1.d
reloc-overflow-sbr-s16-2.d
reloc-overflow-sbr-s16.s
reloc-overflow-sbr-u15-b-1.d
reloc-overflow-sbr-u15-b-2.d
reloc-overflow-sbr-u15-b.s
reloc-overflow-sbr-u15-h-1.d
reloc-overflow-sbr-u15-h-2.d
reloc-overflow-sbr-u15-h.s
reloc-overflow-sbr-u15-w-1.d
reloc-overflow-sbr-u15-w-2.d
reloc-overflow-sbr-u15-w.s
sbr-reloc-global-rel.d
sbr-reloc-global-rel.s
sbr-reloc-global.d
sbr-reloc-global.s
sbr-reloc-local-1-rel.s
sbr-reloc-local-1.s
sbr-reloc-local-2-rel.s
sbr-reloc-local-2.s
sbr-reloc-local-r-rel.d
sbr-reloc-local-r.d
sbr-reloc-local-rel.d
sbr-reloc-local.d
sbr.ld
tic6x.exp