This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH][config] Add arm*-*-* in --enable-gold
- From: =?big5?b?RG91ZyBLd2FuICjD9q62vHcp?= <dougkwan at google dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 29 May 2009 22:07:57 -0700
- Subject: [PATCH][config] Add arm*-*-* in --enable-gold
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