2014-01-01 17:29:23 +00:00
|
|
|
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
|
|
|
|
|
# Local configure fragment for sysdeps/aarch64.
|
|
|
|
|
|
2021-01-20 12:26:31 +00:00
|
|
|
# Static PIE is supported.
|
|
|
|
|
AC_DEFINE(SUPPORT_STATIC_PIE)
|
|
|
|
|
|
2014-01-01 17:29:23 +00:00
|
|
|
# We check to see if the compiler and flags are
|
|
|
|
|
# selecting the big endian ABI and if they are then
|
|
|
|
|
# we set libc_cv_aarch64_be to yes which causes
|
|
|
|
|
# HAVE_AARCH64_BE to be defined in config.h and
|
|
|
|
|
# in include/libc-symbols.h and thus available to
|
|
|
|
|
# shlib-versions to select the appropriate name for
|
|
|
|
|
# the dynamic linker via %ifdef.
|
|
|
|
|
AC_CACHE_CHECK([for big endian],
|
|
|
|
|
[libc_cv_aarch64_be],
|
|
|
|
|
[AC_EGREP_CPP(yes,[#ifdef __AARCH64EB__
|
|
|
|
|
yes
|
|
|
|
|
#endif
|
|
|
|
|
], libc_cv_aarch64_be=yes, libc_cv_aarch64_be=no)])
|
|
|
|
|
if test $libc_cv_aarch64_be = yes; then
|
|
|
|
|
AC_DEFINE(HAVE_AARCH64_BE)
|
|
|
|
|
LIBC_CONFIG_VAR([default-abi], [lp64_be])
|
|
|
|
|
else
|
|
|
|
|
LIBC_CONFIG_VAR([default-abi], [lp64])
|
|
|
|
|
fi
|
2020-05-06 19:22:16 +00:00
|
|
|
|
2023-04-12 13:37:49 +00:00
|
|
|
if test x"$build_mathvec" = xnotset; then
|
|
|
|
|
build_mathvec=yes
|
|
|
|
|
fi
|
|
|
|
|
|
2025-05-14 11:38:19 +00:00
|
|
|
if test $build_mathvec = no; then
|
2023-05-05 08:01:58 +00:00
|
|
|
AC_MSG_WARN([mathvec is disabled, this results in incomplete ABI.])
|
2023-05-04 09:14:43 +00:00
|
|
|
fi
|
2025-07-22 15:55:50 +00:00
|
|
|
|
|
|
|
|
libc_cv_support_sframe=yes
|