old-cross-binutils/ld/testsuite/ld-elf
Joseph Myers 40b365969f bfd:
* Makefile.am (ALL_MACHINES): Add cpu-tic6x.lo.
	(ALL_MACHINES_CFILES): Add cpu-tic6x.c.
	(BFD32_BACKENDS): Add elf32-tic6x.lo.
	(BFD32_BACKENDS_CFILES): Add elf32-tic6x.c.
	* Makefile.in: Regenerate.
	* archures.c (bfd_arch_tic6x, bfd_tic6x_arch): New.
	(bfd_archures_list): Update.
	* config.bfd (tic6x-*-elf): New.
	* configure.in (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec):
	New.
	* configure: Regenerate.
	* cpu-tic6x.c, elf32-tic6x.c: New.
	* reloc.c (BFD_RELOC_C6000_PCR_S21, BFD_RELOC_C6000_PCR_S12,
	BFD_RELOC_C6000_PCR_S10, BFD_RELOC_C6000_PCR_S7,
	BFD_RELOC_C6000_ABS_S16, BFD_RELOC_C6000_ABS_L16,
	BFD_RELOC_C6000_ABS_H16, BFD_RELOC_C6000_SBR_U15_B,
	BFD_RELOC_C6000_SBR_U15_H, BFD_RELOC_C6000_SBR_U15_W,
	BFD_RELOC_C6000_SBR_S16, BFD_RELOC_C6000_SBR_L16_B,
	BFD_RELOC_C6000_SBR_L16_H, BFD_RELOC_C6000_SBR_L16_W,
	BFD_RELOC_C6000_SBR_H16_B, BFD_RELOC_C6000_SBR_H16_H,
	BFD_RELOC_C6000_SBR_H16_W, BFD_RELOC_C6000_SBR_GOT_U15_W,
	BFD_RELOC_C6000_SBR_GOT_L16_W, BFD_RELOC_C6000_SBR_GOT_H16_W,
	BFD_RELOC_C6000_DSBT_INDEX, BFD_RELOC_C6000_PREL31,
	BFD_RELOC_C6000_COPY, BFD_RELOC_C6000_ALIGN,
	BFD_RELOC_C6000_FPHEAD, BFD_RELOC_C6000_NOCMP): New.
	* targets.c (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): New.
	(_bfd_target_vector): Update.
	* bfd-in2.h, libbfd.h: Regenerate.

binutils:
	* MAINTAINERS: Add self as TI C6X maintainer.
	* NEWS: Add news entry for TI C6X support.
	* readelf.c: Include elf/tic6x.h.
	(guess_is_rela): Handle EM_TI_C6000.
	(dump_relocations): Likewise.
	(get_tic6x_dynamic_type): New.
	(get_dynamic_type): Call it.
	(get_machine_flags): Handle EF_C6000_REL.
	(get_osabi_name): Handle machine-specific values only for relevant
	machines.  Handle C6X values.
	(get_tic6x_segment_type): New.
	(get_segment_type): Call it.
	(get_tic6x_section_type_name): New.
	(get_section_type_name): Call it.
	(is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
	EM_TI_C6000.

gas:
	* Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
	(TARGET_CPU_HFILES): Add config/tc-tic6x.h.
	* Makefile.in: Regenerate.
	* NEWS: Add news entry for TI C6X support.
	* app.c (do_scrub_chars): Handle "||^" for TI C6X.  Handle
	TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR.  Keep spaces in
	operands if TC_KEEP_OPERAND_SPACES.
	* configure.tgt (tic6x-*-*): New.
	* config/tc-ia64.h (TC_PREDICATE_START_CHAR,
	TC_PREDICATE_END_CHAR): Define.
	* config/tc-tic6x.c, config/tc-tic6x.h: New.
	* doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
	* doc/Makefile.in: Regenerate.
	* doc/all.texi (TIC6X): Define.
	* doc/as.texinfo: Add TI C6X documentation.  Include c-tic6x.texi.
	* doc/c-tic6x.texi: New.

gas/testsuite:
	* gas/tic6x: New directory and testcases.

include:
	* dis-asm.h (print_insn_tic6x): Declare.

include/elf:
	* common.h (ELFOSABI_C6000_ELFABI, ELFOSABI_C6000_LINUX): Define.
	* tic6x.h: New.

include/opcode:
	* tic6x-control-registers.h, tic6x-insn-formats.h,
	tic6x-opcode-table.h, tic6x.h: New.

ld:
	* Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
	eelf32_tic6x_le.o.
	(eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
	* NEWS: Add news entry for TI C6X support.
	* configure.tgt (tic6x-*-*): New.
	* emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.

ld/testsuite:
	* ld-elf/flags1.d, ld-elf/merge.d: XFAIL for tic6x-*-*.
	* ld-elf/sec-to-seg.exp: Set B_test_same_seg to 0 for tic6x-*-*.
	* ld-tic6x: New directory and testcases.

opcodes:
	* Makefile.am (TARGET_LIBOPCODES_CFILES): Add tic6x-dis.c.
	* Makefile.in: Regenerate.
	* configure.in (bfd_tic6x_arch): New.
	* configure: Regenerate.
	* disassemble.c (ARCH_tic6x): Define if ARCH_all.
	(disassembler): Handle TI C6X.
	* tic6x-dis.c: New.
2010-03-25 21:12:36 +00:00
..
audit.exp bfd/ 2009-09-23 13:54:29 +00:00
audit.rd bfd/ 2009-09-23 13:54:29 +00:00
begin.c
beginwarn.c
binutils.exp update copyright dates 2009-09-02 07:25:43 +00:00
comm1.c bfd/ 2008-09-16 14:09:34 +00:00
commonpage1.d
commonpage2.d PR ld/10569 2009-08-30 05:48:56 +00:00
data1.c
data1.h
del.cc
depaudit.rd bfd/ 2009-09-23 13:54:29 +00:00
depaudit2.rd bfd/ 2009-09-23 13:54:29 +00:00
dl1.c
dl1.list
dl1.out
dl1main.c
dl2.c
dl2.list
dl2a.list
dl2a.out
dl2b.out
dl2main.c
dl2xxx.c
dl2xxx.list
dl3.cc
dl3.list
dl3a.out
dl3b.out
dl3header.h
dl3main.cc
dl4.c
dl4.list
dl4a.out
dl4b.out
dl4main.c
dl4xxx.c
dl4xxx.list
dl5.cc
dl5.out
dl6.c
dl6a.out
dl6amain.c
dl6b.out
dl6bmain.c
dl6cmain.c
dl6dmain.c
dummy.c
dwarf.exp
dwarf1.c
dwarf1.h
dwarf1.out
dwarf1main.c
dynbss1.c
dynsym1.d Add --dyn-syms to readelf 2010-01-11 14:45:42 +00:00
eh-frame-hdr.d Provide virtual target "cfi" for targets supporting CFI. 2008-09-20 08:42:53 +00:00
eh-frame-hdr.s
eh-group.exp update copyright dates 2009-09-02 07:25:43 +00:00
eh-group1.s Provide virtual target "cfi" for targets supporting CFI. 2008-09-20 08:42:53 +00:00
eh-group2.s bfd/ 2009-02-01 12:05:25 +00:00
eh1.d * dwarf.c (display_debug_frames): Change text for uniformity. 2008-10-06 16:27:35 +00:00
eh1.s
eh1a.s
eh2.d * dwarf.c (display_debug_frames): Change text for uniformity. 2008-10-06 16:27:35 +00:00
eh2a.s
eh3.d * dwarf.c (display_debug_frames): Change text for uniformity. 2008-10-06 16:27:35 +00:00
eh3.s
eh3a.s
eh4.d * dwarf.c (display_debug_frames): Change text for uniformity. 2008-10-06 16:27:35 +00:00
eh4.s
eh4a.s
eh5.d * ld-elf/eh5.d: Don't run on hppa64. Allow non-pcrel encoding. 2009-09-08 01:15:50 +00:00
eh5.s
eh5a.s
eh5b.s * ld-elf/eh-group.exp: Only run on ELF targets. 2008-09-25 03:16:42 +00:00
eh6.d ld/testsuite/ 2009-09-21 19:11:50 +00:00
eh6.s
elf.exp update copyright dates 2009-09-02 07:25:43 +00:00
empty.d Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
empty.s
empty2.d * ld-elf/empty2.d: Remove xfail for hppa*-*-*. 2009-03-07 23:42:28 +00:00
empty2.s
end.c
endhidden.c
endprotected.c
exclude.exp update copyright dates 2009-09-02 07:25:43 +00:00
exclude1.s
exclude2.s
expr1.d
expr1.s
expr1.t
extract-symbol-1.ld
extract-symbol-1.s
extract-symbol-1sec.d * ld-elf/extract-symbol-1sec.d: Expect to fail for the RX target. 2009-11-18 16:37:56 +00:00
extract-symbol-1sym.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
fini.c
fini.out
flags1.d bfd: 2010-03-25 21:12:36 +00:00
flags1.ld
flags1.s
foo.c
foo.map
frame.exp update copyright dates 2009-09-02 07:25:43 +00:00
frame.s
func1.c bfd/ 2008-09-16 14:09:34 +00:00
group.ld bfd/ 2010-02-19 01:47:16 +00:00
group1.d Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
group1a.s
group1b.s
group2.d
group3a.d Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
group3a.s
group3b.d Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
group3b.s
group4.d 2008-10-03 H.J. Lu <hongjiu.lu@intel.com> 2008-10-03 14:08:38 +00:00
group5.d binutils/testsuite/ 2008-10-03 15:08:22 +00:00
group6.d binutils/testsuite/ 2008-10-03 15:08:22 +00:00
group7.d 2008-10-04 H.J. Lu <hongjiu.lu@intel.com> 2008-10-04 14:55:47 +00:00
group8.s bfd/ 2009-01-14 21:52:49 +00:00
group8a.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
group8b.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
group9.s 2009-01-19 H.J. Lu <hongjiu.lu@intel.com> 2009-01-19 15:52:19 +00:00
group9a.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
group9b.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
group10.d bfd/ 2010-02-19 01:47:16 +00:00
group10.s bfd/ 2010-02-19 01:47:16 +00:00
hash.d Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
header.d
header.s
header.t
hidden.out
init-fini-arrays.d Support 64bit target in ld-elf/init-fini-arrays.d. 2010-02-27 23:23:20 +00:00
init-fini-arrays.s * scripttempl/armbpabi.sc: Don't combine .init_array.* or 2010-02-27 12:34:25 +00:00
init.c
init.out
linkonce1.d * ld-elf/linkonce1.d: Accept "UNUSED" as part of the name of an 2009-08-17 09:22:18 +00:00
linkonce1a.s
linkonce1b.s
linkonce2.d * ld-elf/linkonce1.d: Accept "UNUSED" as part of the name of an 2009-08-17 09:22:18 +00:00
linkoncerdiff.d bfd/ 2009-01-11 21:09:49 +00:00
linkoncerdiff1.s bfd/ 2009-01-11 21:09:49 +00:00
linkoncerdiff2.s bfd/ 2009-01-11 21:09:49 +00:00
lma.lnk
lma.s
loadaddr.s
loadaddr.t
loadaddr1.d
loadaddr1.t
loadaddr2.d
loadaddr2.t
loadaddr3.t
loadaddr3a.d
loadaddr3b.d
local1.d Checked in the missing testcases. 2009-10-07 18:33:20 +00:00
local1.map Checked in the missing testcases. 2009-10-07 18:33:20 +00:00
local1.s Checked in the missing testcases. 2009-10-07 18:33:20 +00:00
main.c
maxpage1.d
maxpage1.s
maxpage2.d
maxpage3.t
maxpage3a.d
maxpage3b.d
maxpage3c.d
maxpage4.d PR ld/10569 2009-08-30 05:48:56 +00:00
maxpage4.t PR ld/10569 2009-08-30 05:48:56 +00:00
merge.d bfd: 2010-03-25 21:12:36 +00:00
merge.ld
merge.s
merge2.d
merge2.s
multibss1.d
multibss1.s
new.cc
nobits-1.d
nobits-1.s
nobits-1.t
noload-1.d
noload-1.s
noload-1.t
noload-2.d
noload-3.d
noload-3.s
noload-3.t
normal.out
note-1.d
note-1.s
note-1.t
note-2.d
note-2.s
note-2.t
orphan-region.d * ldlang.c (lang_insert_orphan): Place loadable orphans in the same 2010-03-16 14:14:40 +00:00
orphan-region.ld Add missing newline. 2010-03-16 14:18:06 +00:00
orphan-region.s * ldlang.c (lang_insert_orphan): Place loadable orphans in the same 2010-03-16 14:14:40 +00:00
orphan.d
orphan.ld
orphan.s
orphan2.d
orphan2.s
orphan3.d typo fix 2009-05-16 03:22:28 +00:00
orphan3a.s * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s, 2009-05-16 01:56:44 +00:00
orphan3b.s * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s, 2009-05-16 01:56:44 +00:00
orphan3c.s * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s, 2009-05-16 01:56:44 +00:00
orphan3d.s * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s, 2009-05-16 01:56:44 +00:00
orphan3e.s * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s, 2009-05-16 01:56:44 +00:00
orphan3f.s * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s, 2009-05-16 01:56:44 +00:00
orphan4.d * ld-elf/orphan4.d: Allow for other sections to be present in the 2010-02-23 16:56:39 +00:00
orphan4.ld * emultempl/elf32.em (_place_orphan): If an input section doesn't 2010-01-14 04:56:12 +00:00
orphan4.s * emultempl/elf32.em (_place_orphan): If an input section doesn't 2010-01-14 04:56:12 +00:00
overlay.d
overlay.s
overlay.t
pass.out
pr349-1.s * ld-elf/pr349-1.s, * ld-elf/pr349-2.s, * ld-elf/pr349.d: New. 2009-10-14 10:52:54 +00:00
pr349-2.s * ld-elf/pr349-1.s, * ld-elf/pr349-2.s, * ld-elf/pr349.d: New. 2009-10-14 10:52:54 +00:00
pr349.d * ld-elf/pr349-1.s, * ld-elf/pr349-2.s, * ld-elf/pr349.d: New. 2009-10-14 10:52:54 +00:00
pr9676-1.c bfd/ 2009-01-02 16:48:11 +00:00
pr9676-2.c bfd/ 2009-01-02 16:48:11 +00:00
pr9676-3.c bfd/ 2009-01-02 16:48:11 +00:00
pr9676-4.c bfd/ 2009-01-02 16:48:11 +00:00
pr9676.rd bfd/ 2009-09-24 15:56:52 +00:00
pr9679-1.c bfd/ 2009-01-02 19:29:38 +00:00
pr9679-2.c bfd/ 2009-01-02 19:29:38 +00:00
pr9679.rd bfd/ 2009-09-24 15:56:52 +00:00
pr11138-1.c Fix PR ld/11138 2010-01-08 03:03:16 +00:00
pr11138-1.map Fix PR ld/11138 2010-01-08 03:03:16 +00:00
pr11138-2.c Fix PR ld/11138 2010-01-08 03:03:16 +00:00
pr11138-2.map Fix PR ld/11138 2010-01-08 03:03:16 +00:00
pr11138.out Fix PR ld/11138 2010-01-08 03:03:16 +00:00
pr11304.d PR ld/11304 2010-03-19 14:49:46 +00:00
pr11304a.s PR ld/11304 2010-03-19 14:49:46 +00:00
pr11304b.s PR ld/11304 2010-03-19 14:49:46 +00:00
preinit.c
preinit.out
relocatable.d 2009-10-09 H.J. Lu <hongjiu.lu@intel.com> 2009-10-09 13:32:50 +00:00
relocatable.t 2009-10-09 H.J. Lu <hongjiu.lu@intel.com> 2009-10-09 13:32:50 +00:00
relro1.s
relro2.s
sec-to-seg-script-adjoining-pages.t
sec-to-seg-script-disjoint-pages.t
sec-to-seg-script-same-page.t
sec-to-seg.exp bfd: 2010-03-25 21:12:36 +00:00
sec-to-seg1.s * ld-elf/sec-to-seg1.s: Shorten test data to align the section to 2008-08-17 20:42:53 +00:00
sec-to-seg2.s
sec64k.exp * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
seg.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
seg.s
seg.t
shared.exp Fix PR ld/11138 2010-01-08 03:03:16 +00:00
simple.s 2009-10-09 H.J. Lu <hongjiu.lu@intel.com> 2009-10-09 13:32:50 +00:00
stab.d 2008-10-03 Tristan Gingold <gingold@adacore.com> 2008-10-03 14:13:37 +00:00
start.s
symbol1ref.s * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
symbol1w.s
symbol2ref.s * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
symbol2w.s
table.s
tbss.s
tbss1.s
tbss2.s
tdata1.s
tdata2.s
textaddr1.d ld/ 2009-01-16 14:14:07 +00:00
textaddr2.d ld/ 2009-01-16 14:14:07 +00:00
tls_common.exp
tls_common.s
tls_gc.s
unknown.d
unknown2.d
unknown2.s
warn.out
warn1.d Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
warn2.d Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
weak-dyn-1.ld
weak-dyn-1.rd
weak-dyn-1a.s
weak-dyn-1b.s
wrap.exp
wrap1.c
wrap1.out
wrap1a.c
wrap1b.c