Mercurial > hg > CbC > CbC_gcc
diff gcc/configure @ 38:27e6f95b2c21
mearge hgtags
author | e075725 |
---|---|
date | Tue, 05 Jan 2010 17:33:06 +0900 |
parents | 11a6cbe2d14c 855418dad1a3 |
children | 326d9e06c2e3 |
line wrap: on
line diff
--- a/gcc/configure Tue Dec 22 20:49:36 2009 +0900 +++ b/gcc/configure Tue Jan 05 17:33:06 2010 +0900 @@ -21690,6 +21690,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