]>
Commit | Line | Data |
---|---|---|
01b597da UD |
1 | GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. |
2 | # Local configure fragment for sysdeps/i386. | |
3 | ||
4 | AC_CACHE_CHECK([for .cfi_personality and .cfi_lsda pseudo-ops], | |
5 | libc_cv_asm_cfi_personality, [dnl | |
6 | cat > conftest.s <<EOF | |
7 | ${libc_cv_dot_text} | |
8 | foo: | |
9 | .cfi_startproc | |
10 | .cfi_personality 0, foo | |
11 | .cfi_lsda 0, foo | |
12 | .cfi_endproc | |
13 | EOF | |
14 | if AC_TRY_COMMAND(${CC-cc} $ASFLAGS -c conftest.s 1>&AS_MESSAGE_LOG_FD); then | |
15 | libc_cv_asm_cfi_personality=yes | |
16 | else | |
17 | libc_cv_asm_cfi_personality=no | |
18 | fi | |
19 | rm -f conftest* | |
20 | ]) | |
21 | if test x"$libc_cv_asm_cfi_personality" != xyes; then | |
22 | AC_MSG_ERROR([assembler too old, .cfi_personality support missing]) | |
23 | fi |