This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch]Add aarch64 to list of targets that support gold
- From: Cary Coutant <ccoutant at google dot com>
- To: Jing Yu <jingyu at google dot com>
- Cc: binutils <binutils at sourceware dot org>, Han Shen <shenhan at google dot com>
- Date: Fri, 3 Oct 2014 11:05:03 -0700
- Subject: Re: [patch]Add aarch64 to list of targets that support gold
- Authentication-results: sourceware.org; auth=none
- References: <CAJ_rGWRc0W7J2bNqftMbMTk6Z79i_j1+w2w5rRwoKeY7P57E1A at mail dot gmail dot com>
Patches already applied to the GCC tree are automatically approved for binutils.
-cary
On Fri, Oct 3, 2014 at 11:01 AM, Jing Yu <jingyu@google.com> wrote:
> 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