aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalter Lee <walt@tilera.com>2012-09-15 17:11:26 +0000
committerWalter Lee <walt@tilera.com>2012-09-15 17:11:26 +0000
commita271d2e310db161cce61e6a780ec467bf4d1d744 (patch)
treec4b8964c2ea92e30d510fe4b2864b0b437f3ff1d
parentddb7b65aaa203bc06af8a800ec3f7a4ac0ace374 (diff)
downloadnewlib-a271d2e310db161cce61e6a780ec467bf4d1d744.zip
newlib-a271d2e310db161cce61e6a780ec467bf4d1d744.tar.gz
newlib-a271d2e310db161cce61e6a780ec467bf4d1d744.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.
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c996b3e..2f42c48 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-09-15 Jiong Wang <jiwang@tilera.com>
+
+ * configure.ac (ENABLE_GOLD): support tilegx*
+ * configure: rebuild
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
PR target/38607
diff --git a/configure b/configure
index c637c91..72f9af3 100755
--- a/configure
+++ b/configure
@@ -2916,7 +2916,7 @@ case "${ENABLE_GOLD}" in
if test "$is_elf" = "yes"; then
# Check for target supported by gold.
case "${target}" in
- i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-*)
+ i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* | tilegx*-*-*)
configdirs="$configdirs gold"
if test x${ENABLE_GOLD} = xdefault; then
default_ld=gold
diff --git a/configure.ac b/configure.ac
index aaf3df3..df56cd1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -328,7 +328,7 @@ case "${ENABLE_GOLD}" in
if test "$is_elf" = "yes"; then
# Check for target supported by gold.
case "${target}" in
- i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-*)
+ i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* | tilegx*-*-*)
configdirs="$configdirs gold"
if test x${ENABLE_GOLD} = xdefault; then
default_ld=gold