diff options
author | Ian Lance Taylor <iant@google.com> | 2010-09-29 00:54:08 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2010-09-29 00:54:08 +0000 |
commit | 6dace308dec27f9a57b941d7120d7c888e0b74ae (patch) | |
tree | 0100532fd2ca4f81e957b297ee9077000dc452a4 /libgcc/configure | |
parent | f6a0745f1734e588dabf224dbe88aaf3eaed4918 (diff) |
configure.ac: Adjust CFI test to test assembler directly rather than checking gcc...
* configure.ac: Adjust CFI test to test assembler directly rather
than checking gcc preprocessor macro.
* configure: Rebuild.
From-SVN: r164713
Diffstat (limited to 'libgcc/configure')
-rw-r--r-- | libgcc/configure | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libgcc/configure b/libgcc/configure index 56195bb106d..dad6c49746a 100644 --- a/libgcc/configure +++ b/libgcc/configure @@ -3715,7 +3715,11 @@ if test "${libgcc_cv_cfi+set}" = set; then : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -int i = __GCC_HAVE_DWARF2_CFI_ASM; +asm("\n\ + .text\n\ + .cfi_startproc\n\ + .cfi_personality 0, symbol\n\ + .cfi_endproc"); _ACEOF if ac_fn_c_try_compile "$LINENO"; then : libgcc_cv_cfi=yes |