This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]Add aarch64 to list of targets that support gold
- From: Jing Yu <jingyu at google dot com>
- To: config-patches at gnu dot org
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 23 Sep 2014 14:09:37 -0700
- Subject: Re: [PATCH]Add aarch64 to list of targets that support gold
- Authentication-results: sourceware.org; auth=none
- References: <CAJ_rGWRoceYmtt_WZuvo9LjQVAnNOb2g_NqLfM53rDwnnFv_YQ at mail dot gmail dot com>
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