Add support for tilegx in gold.

* configure.ac (ENABLE_GOLD): support tilegx*
	* configure: rebuild
elfcpp:
	* tilegx.h: New file.
	* elfcpp.h: add EM_TILEGX.
gold:
	* tilegx.cc: New file.
	* Makefile.am (TARGETSOURCES): Add tilegx.cc
	(ALL_TARGETOBJS): Add tilegx.$(OBJEXT)
	* configure.tgt: Add entries for tilegx*.
	* configure.ac: Likewise.
	* Makefile.in: Rebuild.
	* configure: Likewise.
	* testsuite/icf_safe_test.sh (arch_specific_safe_fold): Handle
	tilegx.
This commit is contained in:
Walter Lee 2012-09-15 17:11:28 +00:00
parent b132a67daa
commit 5c0b3823c6
14 changed files with 5126 additions and 7 deletions

View file

@ -269,6 +269,7 @@ enum EM
EM_UNICORE = 110,
EM_ALTERA_NIOS2 = 113,
EM_CRX = 114,
EM_TILEGX = 191,
// The Morph MT.
EM_MT = 0x2530,
// DLX.