binutils-gdb/ld/testsuite
Walter Lee fb6ceddedd Add big-endian support for tilegx.
bfd/
	* config.bfd (tilegx-*-*): rename little endian vector; add big
	endian vector.
	(tilegxbe-*-*): New case.
	* configure.in (bfd_elf32_tilegx_vec): Rename...
	(bfd_elf32_tilegx_le_vec): ... to this.
	(bfd_elf32_tilegx_be_vec): New vector.
	(bfd_elf64_tilegx_vec): Rename...
	(bfd_elf64_tilegx_le_vec): ... to this.
	(bfd_elf64_tilegx_be_vec): New vector.
	* configure: Regenerate.
	* elf32-tilegx.c (TARGET_LITTLE_SYM): Rename.
	(TARGET_LITTLE_NAME): Ditto.
	(TARGET_BIG_SYM): Define.
	(TARGET_BIG_NAME): Define.
	* elf64-tilegx.c (TARGET_LITTLE_SYM): Rename.
	(TARGET_LITTLE_NAME): Ditto.
	(TARGET_BIG_SYM): Define.
	(TARGET_BIG_NAME): Define.
	* targets.c (bfd_elf32_tilegx_vec): Rename...
	(bfd_elf32_tilegx_le_vec): ... to this.
	(bfd_elf32_tilegx_be_vec): Declare.
	(bfd_elf64_tilegx_vec): Rename...
	(bfd_elf64_tilegx_le_vec): ... to this.
	(bfd_elf64_tilegx_be_vec): Declare.
	(_bfd_target_vector): Add / rename above vectors.

binutils/testsuite/
	* binutils-all/objdump.exp (cpus_expected): Add tilegx.

gas/
	* tc-tilegx.c (tilegx_target_format): Handle big endian.
	(OPTION_EB): Define.
	(OPTION_EL): Define.
	(md_longopts): Add entries for "EB" and "EL".
	(md_parse_option): Handle OPTION_EB and OPTION_EL.
	(md_show_usage): Add -EB and -EL.
	(md_number_to_chars): New.
	* tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
	ifndef.
	(md_number_to_chars): Delete.
	* configure.tgt (tilegx*be): Handle.
	* doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
	* doc/c-tilegx.texi: Ditto.

ld/
	* Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx_be.c.
	(ALL_64_EMULATION_SOURCES): Add eelf64tilegx_be.c.
	(eelf32tilegx_be.c): Add rule to build this file.
	(eelf64tilegx_be.c): Ditto.
	* Makefile.in: Regenerate.
	* configure.tgt (tilegx-*-*): Support big endian.
	(tilegxbe-*-*): New.
	* emulparams/elf32tilegx.sh (OUTPUT_FORMAT): Rename.
	(BIG_OUTPUT_FORMAT): Define.
	(LITTLE_OUTPUT_FORMAT): Define.
	* emulparams/elf32tilegx_be.sh: New.
	* emulparams/elf64tilegx.sh (OUTPUT_FORMAT): Rename.
	(BIG_OUTPUT_FORMAT): Define.
	(LITTLE_OUTPUT_FORMAT): Define.
	* emulparams/elf64tilegx_be.sh: New.

ld/testsuite/
	* ld-tilegx/reloc-be.d: New.
	* ld-tilegx/reloc-le.d: New.
	* ld-tilegx/reloc.d: Delete.
	* ld-tilegx/tilegx.exp: Test big and little endian.
2012-02-25 19:51:34 +00:00
..
config * config/default.exp: Provide tmpdir/ld/collect-ld. 2012-01-17 00:16:54 +00:00
ld-alpha * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Do not 2011-04-12 23:23:02 +00:00
ld-arm * ld/testsuite/ld-arm/jump-reloc-veneers.s: Update for changes to assembler output. 2011-11-09 17:01:38 +00:00
ld-auto-import
ld-bootstrap 2011-12-03 David Daney <david.daney@cavium.com> 2011-12-03 17:13:02 +00:00
ld-cdtest
ld-checks
ld-cris PR ld/13683 2012-02-22 16:27:35 +00:00
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf * ld-elf/comm-data.exp: Run for *-*-gnu*. 2012-02-20 01:51:52 +00:00
ld-elfcomm
ld-elfvers 2011-12-15 David Daney <david.daney@cavium.com> 2011-12-16 06:18:55 +00:00
ld-elfvsb 2011-12-15 David Daney <david.daney@cavium.com> 2011-12-16 06:18:55 +00:00
ld-elfweak 2011-12-15 David Daney <david.daney@cavium.com> 2011-12-16 06:18:55 +00:00
ld-fastcall
ld-frv
ld-gc PR ld/13683 2012-02-22 16:27:35 +00:00
ld-h8300
ld-i386 Don't use multi byte nop instructions for i386 2012-02-09 22:51:58 +00:00
ld-ia64
ld-ifunc Put IRELATIVE relocations after JUMP_SLOT. 2011-10-21 15:13:37 +00:00
ld-libs
ld-linkonce
ld-m68hc11 * ld-m68hc11/m68hc11.exp: Run for m68hc11-*-* and m68hc12-*-*. 2012-02-13 02:31:53 +00:00
ld-m68k * ld-m68k/tls-gd-ie-1.d: Stabilize test. 2011-04-15 09:58:23 +00:00
ld-mep
ld-mips-elf 2011-12-10 David Daney <david.daney@cavium.com> 2011-12-11 01:43:07 +00:00
ld-misc * ld-gc/start.d: Exclude frv-*-linux*. 2011-02-10 07:24:06 +00:00
ld-mmix PR ld/12815 2011-07-25 01:16:05 +00:00
ld-mn10300 PR gas/12519 2011-02-25 13:45:54 +00:00
ld-pe * dw2gencfi.c (dwcfi_seg_list): New struct. 2011-04-26 15:28:08 +00:00
ld-pie
ld-plugin PR ld/13329 2011-10-06 10:07:17 +00:00
ld-powerpc bfd/ 2011-11-08 13:06:03 +00:00
ld-s390
ld-scripts * readelf.c (get_machine_dlags): Add support for RX's PID mode. 2011-10-05 14:13:31 +00:00
ld-selective * ld-elf/linkoncerdiff.d: Don't run for hppa64-hpux. 2012-02-14 01:02:04 +00:00
ld-sh PR gas/12519 2011-02-25 13:45:54 +00:00
ld-shared 2011-12-15 David Daney <david.daney@cavium.com> 2011-12-16 06:18:55 +00:00
ld-sparc Fix sparc TLS call relaxation when the delay slot sets up %o0. 2011-10-19 00:32:25 +00:00
ld-spu
ld-srec bfd: 2011-10-25 11:18:16 +00:00
ld-tic6x ld/testsuite/ 2011-05-20 10:10:00 +00:00
ld-tilegx Add big-endian support for tilegx. 2012-02-25 19:51:34 +00:00
ld-tilepro * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
ld-undefined * ld-elf/flags1.d: Don't xfail tic6x. 2011-05-13 04:19:18 +00:00
ld-unique ELFOSABI_GNU 2011-07-03 13:37:09 +00:00
ld-v850
ld-versados
ld-vxworks
ld-x86-64 Support arch-dependent fill 2012-01-31 17:54:39 +00:00
ld-xc16x
ld-xstormy16
ld-xtensa
lib * ld-elf/linkoncerdiff.d: Don't run for hppa64-hpux. 2012-02-14 01:02:04 +00:00
ChangeLog Add big-endian support for tilegx. 2012-02-25 19:51:34 +00:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011 Rotate ChangeLogs 2012-01-05 10:09:39 +00:00
ChangeLog-9303