This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[patch]Add aarch64 to list of targets that support gold
- From: Jing Yu <jingyu at google dot com>
- To: binutils <binutils at sourceware dot org>, Cary Coutant <ccoutant at google dot com>
- Cc: Han Shen <shenhan at google dot com>
- Date: Fri, 3 Oct 2014 11:01:33 -0700
- Subject: [patch]Add aarch64 to list of targets that support gold
- Authentication-results: sourceware.org; auth=none
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