[patch]Add aarch64 to list of targets that support gold

Jing Yu jingyu@google.com
Fri Oct 3 18:01:00 GMT 2014


Hi,

This patch changes top level configure to add aarch64 to list of
targets that support gold. Have tested binutils with this patch on
x86_64 and aarch64 platforms.
This patch was committed to GCC trunk as revision 215865
(https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=215865)

OK for binutils?


2014-10-03  Jing Yu  <jingyu@google.com>
      * configure.ac: Add aarch64 to list of targets that support gold.
      * configure: Regenerate.

diff --git a/configure b/configure
index 4d0985e..87677bc 100755
--- a/configure
+++ b/configure
@@ -2971,7 +2971,8 @@ 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*-*-*
| tilegx*-*-*)
+        i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* \
+        | aarch64*-*-* | tilegx*-*-*)
           configdirs="$configdirs gold"
           if test x${ENABLE_GOLD} = xdefault; then
             default_ld=gold
diff --git a/configure.ac b/configure.ac
index fe2fda3..4bb4865 100644
--- a/configure.ac
+++ b/configure.ac
@@ -331,7 +331,8 @@ 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*-*-*
| tilegx*-*-*)
+        i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* \
+        | aarch64*-*-* | tilegx*-*-*)
           configdirs="$configdirs gold"
           if test x${ENABLE_GOLD} = xdefault; then
             default_ld=gold

Thanks,
Jing



More information about the Binutils mailing list