diff options
author | Walter Lee <walt@tilera.com> | 2012-09-15 17:11:26 +0000 |
---|---|---|
committer | Walter Lee <walt@tilera.com> | 2012-09-15 17:11:26 +0000 |
commit | a271d2e310db161cce61e6a780ec467bf4d1d744 (patch) | |
tree | c4b8964c2ea92e30d510fe4b2864b0b437f3ff1d | |
parent | ddb7b65aaa203bc06af8a800ec3f7a4ac0ace374 (diff) | |
download | newlib-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-- | ChangeLog | 5 | ||||
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -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 @@ -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 |