This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Patch 2 of 2 for ILP32 aarch64


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]