Mercurial > hg > CbC > CbC_gcc
diff gcc/configure @ 36:855418dad1a3
gcc-4.4-20091020
author | e075725 |
---|---|
date | Tue, 22 Dec 2009 21:19:31 +0900 |
parents | a06113de4d67 |
children | 27e6f95b2c21 77e2b8dfacca |
line wrap: on
line diff
--- a/gcc/configure Thu Sep 24 13:21:57 2009 +0900 +++ b/gcc/configure Tue Dec 22 21:19:31 2009 +0900 @@ -21680,6 +21680,42 @@ _ACEOF +echo "$as_me:$LINENO: checking assembler for cfi sections directive" >&5 +echo $ECHO_N "checking assembler for cfi sections directive... $ECHO_C" >&6 +if test "${gcc_cv_as_cfi_sections_directive+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + gcc_cv_as_cfi_sections_directive=no + if test x$gcc_cv_as != x; then + echo ' .text + .cfi_sections .debug_frame, .eh_frame + .cfi_startproc + .cfi_endproc' > conftest.s + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } + then + gcc_cv_as_cfi_sections_directive=yes + else + echo "configure: failed program was" >&5 + cat conftest.s >&5 + fi + rm -f conftest.o conftest.s + fi +fi +echo "$as_me:$LINENO: result: $gcc_cv_as_cfi_sections_directive" >&5 +echo "${ECHO_T}$gcc_cv_as_cfi_sections_directive" >&6 + + +cat >>confdefs.h <<_ACEOF +#define HAVE_GAS_CFI_SECTIONS_DIRECTIVE `if test $gcc_cv_as_cfi_sections_directive = yes; + then echo 1; else echo 0; fi` +_ACEOF + + # GAS versions up to and including 2.11.0 may mis-optimize # .eh_frame data. echo "$as_me:$LINENO: checking assembler for eh_frame optimization" >&5