aboutsummaryrefslogtreecommitdiff
path: root/gold/configure
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
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')
-rwxr-xr-xgold/configure9
1 files changed, 9 insertions, 0 deletions
diff --git a/gold/configure b/gold/configure
index dff9cac..6c28a5d 100755
--- a/gold/configure
+++ b/gold/configure
@@ -3470,6 +3470,15 @@ else
DEFAULT_TARGET_SPARC_FALSE=
fi
+ if test "$targ_obj" = "tilegx"; then
+ DEFAULT_TARGET_TILEGX_TRUE=
+ DEFAULT_TARGET_TILEGX_FALSE='#'
+else
+ DEFAULT_TARGET_TILEGX_TRUE='#'
+ DEFAULT_TARGET_TILEGX_FALSE=
+fi
+
+
if test "$targ_obj" = "x86_64"; then
DEFAULT_TARGET_X86_64_TRUE=
DEFAULT_TARGET_X86_64_FALSE='#'