[PATCH] Add top-level config support for gold mips target

Cary Coutant ccoutant@google.com
Mon Oct 20 17:35:00 GMT 2014


This patch adds support for the mips target in gold.

OK to commit?

-cary


2014-10-20  Cary Coutant  <ccoutant@google.com>

        * configure (--enable-gold): Add mips*-*-*.
        * configure.ac: Regenerate.


Index: configure
===================================================================
--- configure   (revision 216487)
+++ configure   (working copy)
@@ -2941,7 +2941,7 @@ case "${ENABLE_GOLD}" in
       # Check for target supported by gold.
       case "${target}" in
         i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* \
-        | aarch64*-*-* | tilegx*-*-*)
+        | aarch64*-*-* | tilegx*-*-* | mips*-*-*)
          configdirs="$configdirs gold"
          if test x${ENABLE_GOLD} = xdefault; then
            default_ld=gold
Index: configure.ac
===================================================================
--- configure.ac        (revision 216487)
+++ configure.ac        (working copy)
@@ -332,7 +332,7 @@ case "${ENABLE_GOLD}" in
       # Check for target supported by gold.
       case "${target}" in
         i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* \
-        | aarch64*-*-* | tilegx*-*-*)
+        | aarch64*-*-* | tilegx*-*-* | mips*-*-*)
          configdirs="$configdirs gold"
          if test x${ENABLE_GOLD} = xdefault; then
            default_ld=gold



More information about the Gcc-patches mailing list