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.
OK for trunk?


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

Thanks,
Jing


Index: configure
===================================================================
--- configure (revision 215344)
+++ configure (working copy)
@@ -2940,7 +2940,8 @@
     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
Index: configure.ac
===================================================================
--- configure.ac (revision 215344)
+++ configure.ac (working copy)
@@ -331,7 +331,8 @@
     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

Reply via email to