aboutsummaryrefslogtreecommitdiff
path: root/gold/configure.tgt
diff options
context:
space:
mode:
authorWalter Lee <walt@tilera.com>2012-09-15 17:11:28 +0000
committerWalter Lee <walt@tilera.com>2012-09-15 17:11:28 +0000
commit5c0b3823c66fbdf7f9d1ddbc395307b1793fd600 (patch)
tree9eab63950674e353fff309ff9f0b4c69b5a5b346 /gold/configure.tgt
parentb132a67daa01d296540697e3632f162f6ba45170 (diff)
downloadgdb-5c0b3823c66fbdf7f9d1ddbc395307b1793fd600.zip
gdb-5c0b3823c66fbdf7f9d1ddbc395307b1793fd600.tar.gz
gdb-5c0b3823c66fbdf7f9d1ddbc395307b1793fd600.tar.bz2
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.
Diffstat (limited to 'gold/configure.tgt')
-rw-r--r--gold/configure.tgt8
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/configure.tgt b/gold/configure.tgt
index 0f3b1c3..504de2f 100644
--- a/gold/configure.tgt
+++ b/gold/configure.tgt
@@ -72,6 +72,14 @@ x86_64*)
;;
esac
;;
+tilegx*)
+ targ_obj=tilegx
+ targ_machine=EM_TILEGX
+ targ_size=64
+ targ_extra_size=32
+ targ_big_endian=false
+ targ_extra_big_endian=true
+ ;;
sparc-*)
targ_obj=sparc
targ_machine=EM_SPARC