This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Patch 2 of 2 for ILP32 aarch64
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Steve Ellcey <sellcey at caviumnetworks dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Thu, 23 Feb 2017 13:32:28 +0100
- Subject: Re: [PATCH] Patch 2 of 2 for ILP32 aarch64
- Authentication-results: sourceware.org; auth=none
- References: <1487781046.2866.153.camel@caviumnetworks.com>
On Feb 22 2017, Steve Ellcey <sellcey@caviumnetworks.com> wrote:
> diff --git a/sysdeps/aarch64/configure.ac b/sysdeps/aarch64/configure.ac
> index 7851dd4..5327f76 100644
> --- a/sysdeps/aarch64/configure.ac
> +++ b/sysdeps/aarch64/configure.ac
> @@ -14,9 +14,16 @@ AC_CACHE_CHECK([for big endian],
> yes
> #endif
> ], libc_cv_aarch64_be=yes, libc_cv_aarch64_be=no)])
> +
> +if test $aarch64_config_abi = ilp32; then
> + AC_DEFINE (HAVE_AARCH64_ILP32)
> +fi
> +
> if test $libc_cv_aarch64_be = yes; then
> AC_DEFINE(HAVE_AARCH64_BE)
> - LIBC_CONFIG_VAR([default-abi], [lp64_be])
> + libc_aarch64_be=_be
> else
> - LIBC_CONFIG_VAR([default-abi], [lp64])
> + libc_aarch64_be=
> fi
> +
> +LIBC_CONFIG_VAR ([default-abi], [${aarch64_config_abi}${libc_aarch64_be}])
That has obviously never been tested.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."