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

Jing Yu jingyu@google.com
Tue Sep 23 21:09:00 GMT 2014


Hi Config-maintainers,

Is this patch ok for trunk?

Thanks!
Jing

On Thu, Sep 18, 2014 at 4:05 PM, 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.
> OK for trunk?
>
>
> 2014-09-18  Jing Yu  <jingyu@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



More information about the Gcc-patches mailing list