Blame sysdeps/unix/sysv/linux/i386/configure.ac
|
Packit Service |
82fcde |
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
|
|
Packit Service |
82fcde |
# Local configure fragment for sysdeps/unix/sysv/linux/i386.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
# Check if CFLAGS allows compiler to use ebp register in inline assembly.
|
|
Packit Service |
82fcde |
AC_CACHE_CHECK([if compiler flags allows ebp in inline assembly],
|
|
Packit Service |
82fcde |
libc_cv_can_use_register_asm_ebp, [
|
|
Packit Service |
82fcde |
AC_COMPILE_IFELSE(
|
|
Packit Service |
82fcde |
[AC_LANG_PROGRAM([
|
|
Packit Service |
82fcde |
void foo (int i)
|
|
Packit Service |
82fcde |
{
|
|
Packit Service |
82fcde |
register int reg asm ("ebp") = i;
|
|
Packit Service |
82fcde |
asm ("# %0" : : "r" (reg));
|
|
Packit Service |
82fcde |
}])],
|
|
Packit Service |
82fcde |
[libc_cv_can_use_register_asm_ebp=yes],
|
|
Packit Service |
82fcde |
[libc_cv_can_use_register_asm_ebp=no])
|
|
Packit Service |
82fcde |
])
|
|
Packit Service |
82fcde |
if test $libc_cv_can_use_register_asm_ebp = yes; then
|
|
Packit Service |
82fcde |
AC_DEFINE(CAN_USE_REGISTER_ASM_EBP)
|
|
Packit Service |
82fcde |
fi
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
libc_cv_gcc_unwind_find_fde=yes
|
|
Packit Service |
82fcde |
ldd_rewrite_script=sysdeps/unix/sysv/linux/ldd-rewrite.sed
|