|
Lines 1-5
Link Here
|
| 1 |
# This file is generated from configure.ac by Autoconf. DO NOT EDIT! |
1 |
# This file is generated from configure.ac by Autoconf. DO NOT EDIT! |
| 2 |
# Local configure fragment for sysdeps/unix/sysv/linux/i386. |
2 |
# Local configure fragment for sysdeps/unix/sysv/linux/i386. |
| 3 |
|
3 |
|
|
|
4 |
# Check if CFLAGS allows compiler to use ebp register in inline assembly. |
| 5 |
|
| 6 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler flags allows ebp in inline assembly" >&5 |
| 7 |
$as_echo_n "checking if compiler flags allows ebp in inline assembly... " >&6; } |
| 8 |
if ${libc_cv_can_use_register_asm_ebp+:} false; then : |
| 9 |
$as_echo_n "(cached) " >&6 |
| 10 |
else |
| 11 |
|
| 12 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13 |
/* end confdefs.h. */ |
| 14 |
|
| 15 |
void foo (int i) |
| 16 |
{ |
| 17 |
register int reg asm ("ebp") = i; |
| 18 |
asm ("# %0" : : "r" (reg)); |
| 19 |
} |
| 20 |
int |
| 21 |
main () |
| 22 |
{ |
| 23 |
|
| 24 |
; |
| 25 |
return 0; |
| 26 |
} |
| 27 |
_ACEOF |
| 28 |
if ac_fn_c_try_compile "$LINENO"; then : |
| 29 |
libc_cv_can_use_register_asm_ebp=yes |
| 30 |
else |
| 31 |
libc_cv_can_use_register_asm_ebp=no |
| 32 |
fi |
| 33 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 34 |
|
| 35 |
fi |
| 36 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_can_use_register_asm_ebp" >&5 |
| 37 |
$as_echo "$libc_cv_can_use_register_asm_ebp" >&6; } |
| 38 |
if test $libc_cv_can_use_register_asm_ebp = yes; then |
| 39 |
$as_echo "#define CAN_USE_REGISTER_ASM_EBP 1" >>confdefs.h |
| 40 |
|
| 41 |
fi |
| 42 |
|
| 4 |
libc_cv_gcc_unwind_find_fde=yes |
43 |
libc_cv_gcc_unwind_find_fde=yes |
| 5 |
ldd_rewrite_script=sysdeps/unix/sysv/linux/ldd-rewrite.sed |
44 |
ldd_rewrite_script=sysdeps/unix/sysv/linux/ldd-rewrite.sed |