[PATCH][config] Add arm*-*-* in --enable-gold

Doug Kwan (關振德) dougkwan@google.com
Sat May 30 05:14:00 GMT 2009


Hi,

    This patch adds the target arm*-*-* in the list of supported
targets for the switch --enable-gold.  This change has already been
checked into the top-level configure script of binutils.  This gcc
patch is to synchronize the top-level configure scripts in binutils
and gcc.

-Doug

2009-05-29  Doug Kwan  <dougkwan@google.com>

	* configure.ac: Support gold for target arm*-*-eabi.
	* configure: Regenerate.


---------------
Index: gcc/configure
===================================================================
--- gcc/configure	(revision 147996)
+++ gcc/configure	(working copy)
@@ -2083,7 +2083,7 @@ if test "${ENABLE_GOLD}" = "yes"; then
   if test "$is_elf" = "yes"; then
     # Check for target supported by gold.
     case "${target}" in
-      i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-*)
+      i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-*)
         configdirs="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
         ;;
     esac
Index: gcc/configure.ac
===================================================================
--- gcc/configure.ac	(revision 147996)
+++ gcc/configure.ac	(working copy)
@@ -318,7 +318,7 @@ if test "${ENABLE_GOLD}" = "yes"; then
   if test "$is_elf" = "yes"; then
     # Check for target supported by gold.
     case "${target}" in
-      i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-*)
+      i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-*)
         configdirs="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
         ;;
     esac



More information about the Gcc-patches mailing list