llvm.org GIT mirror llvm / 1f6832a
Windows/DynamicLibrary.inc: Split explicit symbols into explicit_symbols.inc. config.h.* have conditions whether each symbol is defined or not. Autoconf and CMake may check symbols in libgcc.a for JIT on Mingw. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124950 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 8 years ago
7 changed file(s) with 1584 addition(s) and 59 deletion(s). Raw diff Collapse all Expand all
13961396 AC_C_PRINTF_A
13971397 AC_FUNC_RAND48
13981398
1399 dnl Check symbols in libgcc.a for JIT on Mingw.
1400 if test "$llvm_cv_os_type" = "MingW" ; then
1401 AC_CHECK_LIB(gcc,_alloca,AC_DEFINE([HAVE__ALLOCA],[1],[Have host's _alloca]))
1402 AC_CHECK_LIB(gcc,__alloca,AC_DEFINE([HAVE___ALLOCA],[1],[Have host's __alloca]))
1403 AC_CHECK_LIB(gcc,__chkstk,AC_DEFINE([HAVE___CHKSTK],[1],[Have host's __chkstk]))
1404 AC_CHECK_LIB(gcc,___chkstk,AC_DEFINE([HAVE____CHKSTK],[1],[Have host's ___chkstk]))
1405
1406 AC_CHECK_LIB(gcc,__ashldi3,AC_DEFINE([HAVE___ASHLDI3],[1],[Have host's __ashldi3]))
1407 AC_CHECK_LIB(gcc,__ashrdi3,AC_DEFINE([HAVE___ASHRDI3],[1],[Have host's __ashrdi3]))
1408 AC_CHECK_LIB(gcc,__divdi3,AC_DEFINE([HAVE___DIVDI3],[1],[Have host's __divdi3]))
1409 AC_CHECK_LIB(gcc,__fixdfdi,AC_DEFINE([HAVE___FIXDFDI],[1],[Have host's __fixdfdi]))
1410 AC_CHECK_LIB(gcc,__fixsfdi,AC_DEFINE([HAVE___FIXSFDI],[1],[Have host's __fixsfdi]))
1411 AC_CHECK_LIB(gcc,__floatdidf,AC_DEFINE([HAVE___FLOATDIDF],[1],[Have host's __floatdidf]))
1412 AC_CHECK_LIB(gcc,__lshrdi3,AC_DEFINE([HAVE___LSHRDI3],[1],[Have host's __lshrdi3]))
1413 AC_CHECK_LIB(gcc,__moddi3,AC_DEFINE([HAVE___MODDI3],[1],[Have host's __moddi3]))
1414 AC_CHECK_LIB(gcc,__udivdi3,AC_DEFINE([HAVE___UDIVDI3],[1],[Have host's __udivdi3]))
1415 AC_CHECK_LIB(gcc,__umoddi3,AC_DEFINE([HAVE___UMODDI3],[1],[Have host's __umoddi3]))
1416
1417 AC_CHECK_LIB(gcc,__main,AC_DEFINE([HAVE___MAIN],[1],[Have host's __main]))
1418 AC_CHECK_LIB(gcc,__cmpdi2,AC_DEFINE([HAVE___CMPDI2],[1],[Have host's __cmpdi2]))
1419 fi
1420
13991421 dnl Check for variations in the Standard C++ library and STL. These macros are
14001422 dnl provided by LLVM in the autoconf/m4 directory.
14011423 AC_FUNC_ISNAN
154154 check_symbol_exists(setenv stdlib.h HAVE_SETENV)
155155 if( PURE_WINDOWS )
156156 check_symbol_exists(_chsize_s io.h HAVE__CHSIZE_S)
157
158 check_function_exists(_alloca HAVE__ALLOCA)
159 check_function_exists(__alloca HAVE___ALLOCA)
160 check_function_exists(__chkstk HAVE___CHKSTK)
161 check_function_exists(___chkstk HAVE____CHKSTK)
162
163 check_function_exists(__ashldi3 HAVE___ASHLDI3)
164 check_function_exists(__ashrdi3 HAVE___ASHRDI3)
165 check_function_exists(__divdi3 HAVE___DIVDI3)
166 check_function_exists(__fixdfdi HAVE___FIXDFDI)
167 check_function_exists(__fixsfdi HAVE___FIXSFDI)
168 check_function_exists(__floatdidf HAVE___FLOATDIDF)
169 check_function_exists(__lshrdi3 HAVE___LSHRDI3)
170 check_function_exists(__moddi3 HAVE___MODDI3)
171 check_function_exists(__udivdi3 HAVE___UDIVDI3)
172 check_function_exists(__umoddi3 HAVE___UMODDI3)
173
174 check_function_exists(__main HAVE___MAIN)
175 check_function_exists(__cmpdi2 HAVE___CMPDI2)
157176 endif()
158177 if( HAVE_ARGZ_H )
159178 check_symbol_exists(argz_append argz.h HAVE_ARGZ_APPEND)
1919819198 fi
1919919199
1920019200
19201 if test "$llvm_cv_os_type" = "MingW" ; then
19202 { echo "$as_me:$LINENO: checking for _alloca in -lgcc" >&5
19203 echo $ECHO_N "checking for _alloca in -lgcc... $ECHO_C" >&6; }
19204 if test "${ac_cv_lib_gcc__alloca+set}" = set; then
19205 echo $ECHO_N "(cached) $ECHO_C" >&6
19206 else
19207 ac_check_lib_save_LIBS=$LIBS
19208 LIBS="-lgcc $LIBS"
19209 cat >conftest.$ac_ext <<_ACEOF
19210 /* confdefs.h. */
19211 _ACEOF
19212 cat confdefs.h >>conftest.$ac_ext
19213 cat >>conftest.$ac_ext <<_ACEOF
19214 /* end confdefs.h. */
19215
19216 /* Override any GCC internal prototype to avoid an error.
19217 Use char because int might match the return type of a GCC
19218 builtin and then its argument prototype would still apply. */
19219 #ifdef __cplusplus
19220 extern "C"
19221 #endif
19222 char _alloca ();
19223 int
19224 main ()
19225 {
19226 return _alloca ();
19227 ;
19228 return 0;
19229 }
19230 _ACEOF
19231 rm -f conftest.$ac_objext conftest$ac_exeext
19232 if { (ac_try="$ac_link"
19233 case "(($ac_try" in
19234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19235 *) ac_try_echo=$ac_try;;
19236 esac
19237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19238 (eval "$ac_link") 2>conftest.er1
19239 ac_status=$?
19240 grep -v '^ *+' conftest.er1 >conftest.err
19241 rm -f conftest.er1
19242 cat conftest.err >&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); } &&
19245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19246 { (case "(($ac_try" in
19247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19248 *) ac_try_echo=$ac_try;;
19249 esac
19250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19251 (eval "$ac_try") 2>&5
19252 ac_status=$?
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; } &&
19255 { ac_try='test -s conftest$ac_exeext'
19256 { (case "(($ac_try" in
19257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19258 *) ac_try_echo=$ac_try;;
19259 esac
19260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19261 (eval "$ac_try") 2>&5
19262 ac_status=$?
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); }; }; then
19265 ac_cv_lib_gcc__alloca=yes
19266 else
19267 echo "$as_me: failed program was:" >&5
19268 sed 's/^/| /' conftest.$ac_ext >&5
19269
19270 ac_cv_lib_gcc__alloca=no
19271 fi
19272
19273 rm -f core conftest.err conftest.$ac_objext \
19274 conftest$ac_exeext conftest.$ac_ext
19275 LIBS=$ac_check_lib_save_LIBS
19276 fi
19277 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc__alloca" >&5
19278 echo "${ECHO_T}$ac_cv_lib_gcc__alloca" >&6; }
19279 if test $ac_cv_lib_gcc__alloca = yes; then
19280
19281 cat >>confdefs.h <<\_ACEOF
19282 #define HAVE__ALLOCA 1
19283 _ACEOF
19284
19285 fi
19286
19287 { echo "$as_me:$LINENO: checking for __alloca in -lgcc" >&5
19288 echo $ECHO_N "checking for __alloca in -lgcc... $ECHO_C" >&6; }
19289 if test "${ac_cv_lib_gcc___alloca+set}" = set; then
19290 echo $ECHO_N "(cached) $ECHO_C" >&6
19291 else
19292 ac_check_lib_save_LIBS=$LIBS
19293 LIBS="-lgcc $LIBS"
19294 cat >conftest.$ac_ext <<_ACEOF
19295 /* confdefs.h. */
19296 _ACEOF
19297 cat confdefs.h >>conftest.$ac_ext
19298 cat >>conftest.$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300
19301 /* Override any GCC internal prototype to avoid an error.
19302 Use char because int might match the return type of a GCC
19303 builtin and then its argument prototype would still apply. */
19304 #ifdef __cplusplus
19305 extern "C"
19306 #endif
19307 char __alloca ();
19308 int
19309 main ()
19310 {
19311 return __alloca ();
19312 ;
19313 return 0;
19314 }
19315 _ACEOF
19316 rm -f conftest.$ac_objext conftest$ac_exeext
19317 if { (ac_try="$ac_link"
19318 case "(($ac_try" in
19319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19320 *) ac_try_echo=$ac_try;;
19321 esac
19322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19323 (eval "$ac_link") 2>conftest.er1
19324 ac_status=$?
19325 grep -v '^ *+' conftest.er1 >conftest.err
19326 rm -f conftest.er1
19327 cat conftest.err >&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } &&
19330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19331 { (case "(($ac_try" in
19332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19333 *) ac_try_echo=$ac_try;;
19334 esac
19335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19336 (eval "$ac_try") 2>&5
19337 ac_status=$?
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; } &&
19340 { ac_try='test -s conftest$ac_exeext'
19341 { (case "(($ac_try" in
19342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19343 *) ac_try_echo=$ac_try;;
19344 esac
19345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19346 (eval "$ac_try") 2>&5
19347 ac_status=$?
19348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349 (exit $ac_status); }; }; then
19350 ac_cv_lib_gcc___alloca=yes
19351 else
19352 echo "$as_me: failed program was:" >&5
19353 sed 's/^/| /' conftest.$ac_ext >&5
19354
19355 ac_cv_lib_gcc___alloca=no
19356 fi
19357
19358 rm -f core conftest.err conftest.$ac_objext \
19359 conftest$ac_exeext conftest.$ac_ext
19360 LIBS=$ac_check_lib_save_LIBS
19361 fi
19362 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___alloca" >&5
19363 echo "${ECHO_T}$ac_cv_lib_gcc___alloca" >&6; }
19364 if test $ac_cv_lib_gcc___alloca = yes; then
19365
19366 cat >>confdefs.h <<\_ACEOF
19367 #define HAVE___ALLOCA 1
19368 _ACEOF
19369
19370 fi
19371
19372 { echo "$as_me:$LINENO: checking for __chkstk in -lgcc" >&5
19373 echo $ECHO_N "checking for __chkstk in -lgcc... $ECHO_C" >&6; }
19374 if test "${ac_cv_lib_gcc___chkstk+set}" = set; then
19375 echo $ECHO_N "(cached) $ECHO_C" >&6
19376 else
19377 ac_check_lib_save_LIBS=$LIBS
19378 LIBS="-lgcc $LIBS"
19379 cat >conftest.$ac_ext <<_ACEOF
19380 /* confdefs.h. */
19381 _ACEOF
19382 cat confdefs.h >>conftest.$ac_ext
19383 cat >>conftest.$ac_ext <<_ACEOF
19384 /* end confdefs.h. */
19385
19386 /* Override any GCC internal prototype to avoid an error.
19387 Use char because int might match the return type of a GCC
19388 builtin and then its argument prototype would still apply. */
19389 #ifdef __cplusplus
19390 extern "C"
19391 #endif
19392 char __chkstk ();
19393 int
19394 main ()
19395 {
19396 return __chkstk ();
19397 ;
19398 return 0;
19399 }
19400 _ACEOF
19401 rm -f conftest.$ac_objext conftest$ac_exeext
19402 if { (ac_try="$ac_link"
19403 case "(($ac_try" in
19404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19405 *) ac_try_echo=$ac_try;;
19406 esac
19407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19408 (eval "$ac_link") 2>conftest.er1
19409 ac_status=$?
19410 grep -v '^ *+' conftest.er1 >conftest.err
19411 rm -f conftest.er1
19412 cat conftest.err >&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); } &&
19415 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19416 { (case "(($ac_try" in
19417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19418 *) ac_try_echo=$ac_try;;
19419 esac
19420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19421 (eval "$ac_try") 2>&5
19422 ac_status=$?
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); }; } &&
19425 { ac_try='test -s conftest$ac_exeext'
19426 { (case "(($ac_try" in
19427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19428 *) ac_try_echo=$ac_try;;
19429 esac
19430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19431 (eval "$ac_try") 2>&5
19432 ac_status=$?
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); }; }; then
19435 ac_cv_lib_gcc___chkstk=yes
19436 else
19437 echo "$as_me: failed program was:" >&5
19438 sed 's/^/| /' conftest.$ac_ext >&5
19439
19440 ac_cv_lib_gcc___chkstk=no
19441 fi
19442
19443 rm -f core conftest.err conftest.$ac_objext \
19444 conftest$ac_exeext conftest.$ac_ext
19445 LIBS=$ac_check_lib_save_LIBS
19446 fi
19447 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___chkstk" >&5
19448 echo "${ECHO_T}$ac_cv_lib_gcc___chkstk" >&6; }
19449 if test $ac_cv_lib_gcc___chkstk = yes; then
19450
19451 cat >>confdefs.h <<\_ACEOF
19452 #define HAVE___CHKSTK 1
19453 _ACEOF
19454
19455 fi
19456
19457 { echo "$as_me:$LINENO: checking for ___chkstk in -lgcc" >&5
19458 echo $ECHO_N "checking for ___chkstk in -lgcc... $ECHO_C" >&6; }
19459 if test "${ac_cv_lib_gcc____chkstk+set}" = set; then
19460 echo $ECHO_N "(cached) $ECHO_C" >&6
19461 else
19462 ac_check_lib_save_LIBS=$LIBS
19463 LIBS="-lgcc $LIBS"
19464 cat >conftest.$ac_ext <<_ACEOF
19465 /* confdefs.h. */
19466 _ACEOF
19467 cat confdefs.h >>conftest.$ac_ext
19468 cat >>conftest.$ac_ext <<_ACEOF
19469 /* end confdefs.h. */
19470
19471 /* Override any GCC internal prototype to avoid an error.
19472 Use char because int might match the return type of a GCC
19473 builtin and then its argument prototype would still apply. */
19474 #ifdef __cplusplus
19475 extern "C"
19476 #endif
19477 char ___chkstk ();
19478 int
19479 main ()
19480 {
19481 return ___chkstk ();
19482 ;
19483 return 0;
19484 }
19485 _ACEOF
19486 rm -f conftest.$ac_objext conftest$ac_exeext
19487 if { (ac_try="$ac_link"
19488 case "(($ac_try" in
19489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19490 *) ac_try_echo=$ac_try;;
19491 esac
19492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19493 (eval "$ac_link") 2>conftest.er1
19494 ac_status=$?
19495 grep -v '^ *+' conftest.er1 >conftest.err
19496 rm -f conftest.er1
19497 cat conftest.err >&5
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); } &&
19500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19501 { (case "(($ac_try" in
19502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19503 *) ac_try_echo=$ac_try;;
19504 esac
19505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19506 (eval "$ac_try") 2>&5
19507 ac_status=$?
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); }; } &&
19510 { ac_try='test -s conftest$ac_exeext'
19511 { (case "(($ac_try" in
19512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19513 *) ac_try_echo=$ac_try;;
19514 esac
19515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19516 (eval "$ac_try") 2>&5
19517 ac_status=$?
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); }; }; then
19520 ac_cv_lib_gcc____chkstk=yes
19521 else
19522 echo "$as_me: failed program was:" >&5
19523 sed 's/^/| /' conftest.$ac_ext >&5
19524
19525 ac_cv_lib_gcc____chkstk=no
19526 fi
19527
19528 rm -f core conftest.err conftest.$ac_objext \
19529 conftest$ac_exeext conftest.$ac_ext
19530 LIBS=$ac_check_lib_save_LIBS
19531 fi
19532 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc____chkstk" >&5
19533 echo "${ECHO_T}$ac_cv_lib_gcc____chkstk" >&6; }
19534 if test $ac_cv_lib_gcc____chkstk = yes; then
19535
19536 cat >>confdefs.h <<\_ACEOF
19537 #define HAVE____CHKSTK 1
19538 _ACEOF
19539
19540 fi
19541
19542
19543 { echo "$as_me:$LINENO: checking for __ashldi3 in -lgcc" >&5
19544 echo $ECHO_N "checking for __ashldi3 in -lgcc... $ECHO_C" >&6; }
19545 if test "${ac_cv_lib_gcc___ashldi3+set}" = set; then
19546 echo $ECHO_N "(cached) $ECHO_C" >&6
19547 else
19548 ac_check_lib_save_LIBS=$LIBS
19549 LIBS="-lgcc $LIBS"
19550 cat >conftest.$ac_ext <<_ACEOF
19551 /* confdefs.h. */
19552 _ACEOF
19553 cat confdefs.h >>conftest.$ac_ext
19554 cat >>conftest.$ac_ext <<_ACEOF
19555 /* end confdefs.h. */
19556
19557 /* Override any GCC internal prototype to avoid an error.
19558 Use char because int might match the return type of a GCC
19559 builtin and then its argument prototype would still apply. */
19560 #ifdef __cplusplus
19561 extern "C"
19562 #endif
19563 char __ashldi3 ();
19564 int
19565 main ()
19566 {
19567 return __ashldi3 ();
19568 ;
19569 return 0;
19570 }
19571 _ACEOF
19572 rm -f conftest.$ac_objext conftest$ac_exeext
19573 if { (ac_try="$ac_link"
19574 case "(($ac_try" in
19575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19576 *) ac_try_echo=$ac_try;;
19577 esac
19578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19579 (eval "$ac_link") 2>conftest.er1
19580 ac_status=$?
19581 grep -v '^ *+' conftest.er1 >conftest.err
19582 rm -f conftest.er1
19583 cat conftest.err >&5
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); } &&
19586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19587 { (case "(($ac_try" in
19588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19589 *) ac_try_echo=$ac_try;;
19590 esac
19591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19592 (eval "$ac_try") 2>&5
19593 ac_status=$?
19594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19595 (exit $ac_status); }; } &&
19596 { ac_try='test -s conftest$ac_exeext'
19597 { (case "(($ac_try" in
19598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19599 *) ac_try_echo=$ac_try;;
19600 esac
19601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19602 (eval "$ac_try") 2>&5
19603 ac_status=$?
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); }; }; then
19606 ac_cv_lib_gcc___ashldi3=yes
19607 else
19608 echo "$as_me: failed program was:" >&5
19609 sed 's/^/| /' conftest.$ac_ext >&5
19610
19611 ac_cv_lib_gcc___ashldi3=no
19612 fi
19613
19614 rm -f core conftest.err conftest.$ac_objext \
19615 conftest$ac_exeext conftest.$ac_ext
19616 LIBS=$ac_check_lib_save_LIBS
19617 fi
19618 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___ashldi3" >&5
19619 echo "${ECHO_T}$ac_cv_lib_gcc___ashldi3" >&6; }
19620 if test $ac_cv_lib_gcc___ashldi3 = yes; then
19621
19622 cat >>confdefs.h <<\_ACEOF
19623 #define HAVE___ASHLDI3 1
19624 _ACEOF
19625
19626 fi
19627
19628 { echo "$as_me:$LINENO: checking for __ashrdi3 in -lgcc" >&5
19629 echo $ECHO_N "checking for __ashrdi3 in -lgcc... $ECHO_C" >&6; }
19630 if test "${ac_cv_lib_gcc___ashrdi3+set}" = set; then
19631 echo $ECHO_N "(cached) $ECHO_C" >&6
19632 else
19633 ac_check_lib_save_LIBS=$LIBS
19634 LIBS="-lgcc $LIBS"
19635 cat >conftest.$ac_ext <<_ACEOF
19636 /* confdefs.h. */
19637 _ACEOF
19638 cat confdefs.h >>conftest.$ac_ext
19639 cat >>conftest.$ac_ext <<_ACEOF
19640 /* end confdefs.h. */
19641
19642 /* Override any GCC internal prototype to avoid an error.
19643 Use char because int might match the return type of a GCC
19644 builtin and then its argument prototype would still apply. */
19645 #ifdef __cplusplus
19646 extern "C"
19647 #endif
19648 char __ashrdi3 ();
19649 int
19650 main ()
19651 {
19652 return __ashrdi3 ();
19653 ;
19654 return 0;
19655 }
19656 _ACEOF
19657 rm -f conftest.$ac_objext conftest$ac_exeext
19658 if { (ac_try="$ac_link"
19659 case "(($ac_try" in
19660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19661 *) ac_try_echo=$ac_try;;
19662 esac
19663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19664 (eval "$ac_link") 2>conftest.er1
19665 ac_status=$?
19666 grep -v '^ *+' conftest.er1 >conftest.err
19667 rm -f conftest.er1
19668 cat conftest.err >&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); } &&
19671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19672 { (case "(($ac_try" in
19673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19674 *) ac_try_echo=$ac_try;;
19675 esac
19676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19677 (eval "$ac_try") 2>&5
19678 ac_status=$?
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); }; } &&
19681 { ac_try='test -s conftest$ac_exeext'
19682 { (case "(($ac_try" in
19683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19684 *) ac_try_echo=$ac_try;;
19685 esac
19686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19687 (eval "$ac_try") 2>&5
19688 ac_status=$?
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); }; }; then
19691 ac_cv_lib_gcc___ashrdi3=yes
19692 else
19693 echo "$as_me: failed program was:" >&5
19694 sed 's/^/| /' conftest.$ac_ext >&5
19695
19696 ac_cv_lib_gcc___ashrdi3=no
19697 fi
19698
19699 rm -f core conftest.err conftest.$ac_objext \
19700 conftest$ac_exeext conftest.$ac_ext
19701 LIBS=$ac_check_lib_save_LIBS
19702 fi
19703 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___ashrdi3" >&5
19704 echo "${ECHO_T}$ac_cv_lib_gcc___ashrdi3" >&6; }
19705 if test $ac_cv_lib_gcc___ashrdi3 = yes; then
19706
19707 cat >>confdefs.h <<\_ACEOF
19708 #define HAVE___ASHRDI3 1
19709 _ACEOF
19710
19711 fi
19712
19713 { echo "$as_me:$LINENO: checking for __divdi3 in -lgcc" >&5
19714 echo $ECHO_N "checking for __divdi3 in -lgcc... $ECHO_C" >&6; }
19715 if test "${ac_cv_lib_gcc___divdi3+set}" = set; then
19716 echo $ECHO_N "(cached) $ECHO_C" >&6
19717 else
19718 ac_check_lib_save_LIBS=$LIBS
19719 LIBS="-lgcc $LIBS"
19720 cat >conftest.$ac_ext <<_ACEOF
19721 /* confdefs.h. */
19722 _ACEOF
19723 cat confdefs.h >>conftest.$ac_ext
19724 cat >>conftest.$ac_ext <<_ACEOF
19725 /* end confdefs.h. */
19726
19727 /* Override any GCC internal prototype to avoid an error.
19728 Use char because int might match the return type of a GCC
19729 builtin and then its argument prototype would still apply. */
19730 #ifdef __cplusplus
19731 extern "C"
19732 #endif
19733 char __divdi3 ();
19734 int
19735 main ()
19736 {
19737 return __divdi3 ();
19738 ;
19739 return 0;
19740 }
19741 _ACEOF
19742 rm -f conftest.$ac_objext conftest$ac_exeext
19743 if { (ac_try="$ac_link"
19744 case "(($ac_try" in
19745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19746 *) ac_try_echo=$ac_try;;
19747 esac
19748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19749 (eval "$ac_link") 2>conftest.er1
19750 ac_status=$?
19751 grep -v '^ *+' conftest.er1 >conftest.err
19752 rm -f conftest.er1
19753 cat conftest.err >&5
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); } &&
19756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19757 { (case "(($ac_try" in
19758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19759 *) ac_try_echo=$ac_try;;
19760 esac
19761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19762 (eval "$ac_try") 2>&5
19763 ac_status=$?
19764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19765 (exit $ac_status); }; } &&
19766 { ac_try='test -s conftest$ac_exeext'
19767 { (case "(($ac_try" in
19768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19769 *) ac_try_echo=$ac_try;;
19770 esac
19771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19772 (eval "$ac_try") 2>&5
19773 ac_status=$?
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); }; }; then
19776 ac_cv_lib_gcc___divdi3=yes
19777 else
19778 echo "$as_me: failed program was:" >&5
19779 sed 's/^/| /' conftest.$ac_ext >&5
19780
19781 ac_cv_lib_gcc___divdi3=no
19782 fi
19783
19784 rm -f core conftest.err conftest.$ac_objext \
19785 conftest$ac_exeext conftest.$ac_ext
19786 LIBS=$ac_check_lib_save_LIBS
19787 fi
19788 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___divdi3" >&5
19789 echo "${ECHO_T}$ac_cv_lib_gcc___divdi3" >&6; }
19790 if test $ac_cv_lib_gcc___divdi3 = yes; then
19791
19792 cat >>confdefs.h <<\_ACEOF
19793 #define HAVE___DIVDI3 1
19794 _ACEOF
19795
19796 fi
19797
19798 { echo "$as_me:$LINENO: checking for __fixdfdi in -lgcc" >&5
19799 echo $ECHO_N "checking for __fixdfdi in -lgcc... $ECHO_C" >&6; }
19800 if test "${ac_cv_lib_gcc___fixdfdi+set}" = set; then
19801 echo $ECHO_N "(cached) $ECHO_C" >&6
19802 else
19803 ac_check_lib_save_LIBS=$LIBS
19804 LIBS="-lgcc $LIBS"
19805 cat >conftest.$ac_ext <<_ACEOF
19806 /* confdefs.h. */
19807 _ACEOF
19808 cat confdefs.h >>conftest.$ac_ext
19809 cat >>conftest.$ac_ext <<_ACEOF
19810 /* end confdefs.h. */
19811
19812 /* Override any GCC internal prototype to avoid an error.
19813 Use char because int might match the return type of a GCC
19814 builtin and then its argument prototype would still apply. */
19815 #ifdef __cplusplus
19816 extern "C"
19817 #endif
19818 char __fixdfdi ();
19819 int
19820 main ()
19821 {
19822 return __fixdfdi ();
19823 ;
19824 return 0;
19825 }
19826 _ACEOF
19827 rm -f conftest.$ac_objext conftest$ac_exeext
19828 if { (ac_try="$ac_link"
19829 case "(($ac_try" in
19830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19831 *) ac_try_echo=$ac_try;;
19832 esac
19833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19834 (eval "$ac_link") 2>conftest.er1
19835 ac_status=$?
19836 grep -v '^ *+' conftest.er1 >conftest.err
19837 rm -f conftest.er1
19838 cat conftest.err >&5
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); } &&
19841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19842 { (case "(($ac_try" in
19843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19844 *) ac_try_echo=$ac_try;;
19845 esac
19846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19847 (eval "$ac_try") 2>&5
19848 ac_status=$?
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); }; } &&
19851 { ac_try='test -s conftest$ac_exeext'
19852 { (case "(($ac_try" in
19853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19854 *) ac_try_echo=$ac_try;;
19855 esac
19856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19857 (eval "$ac_try") 2>&5
19858 ac_status=$?
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); }; }; then
19861 ac_cv_lib_gcc___fixdfdi=yes
19862 else
19863 echo "$as_me: failed program was:" >&5
19864 sed 's/^/| /' conftest.$ac_ext >&5
19865
19866 ac_cv_lib_gcc___fixdfdi=no
19867 fi
19868
19869 rm -f core conftest.err conftest.$ac_objext \
19870 conftest$ac_exeext conftest.$ac_ext
19871 LIBS=$ac_check_lib_save_LIBS
19872 fi
19873 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___fixdfdi" >&5
19874 echo "${ECHO_T}$ac_cv_lib_gcc___fixdfdi" >&6; }
19875 if test $ac_cv_lib_gcc___fixdfdi = yes; then
19876
19877 cat >>confdefs.h <<\_ACEOF
19878 #define HAVE___FIXDFDI 1
19879 _ACEOF
19880
19881 fi
19882
19883 { echo "$as_me:$LINENO: checking for __fixsfdi in -lgcc" >&5
19884 echo $ECHO_N "checking for __fixsfdi in -lgcc... $ECHO_C" >&6; }
19885 if test "${ac_cv_lib_gcc___fixsfdi+set}" = set; then
19886 echo $ECHO_N "(cached) $ECHO_C" >&6
19887 else
19888 ac_check_lib_save_LIBS=$LIBS
19889 LIBS="-lgcc $LIBS"
19890 cat >conftest.$ac_ext <<_ACEOF
19891 /* confdefs.h. */
19892 _ACEOF
19893 cat confdefs.h >>conftest.$ac_ext
19894 cat >>conftest.$ac_ext <<_ACEOF
19895 /* end confdefs.h. */
19896
19897 /* Override any GCC internal prototype to avoid an error.
19898 Use char because int might match the return type of a GCC
19899 builtin and then its argument prototype would still apply. */
19900 #ifdef __cplusplus
19901 extern "C"
19902 #endif
19903 char __fixsfdi ();
19904 int
19905 main ()
19906 {
19907 return __fixsfdi ();
19908 ;
19909 return 0;
19910 }
19911 _ACEOF
19912 rm -f conftest.$ac_objext conftest$ac_exeext
19913 if { (ac_try="$ac_link"
19914 case "(($ac_try" in
19915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19916 *) ac_try_echo=$ac_try;;
19917 esac
19918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19919 (eval "$ac_link") 2>conftest.er1
19920 ac_status=$?
19921 grep -v '^ *+' conftest.er1 >conftest.err
19922 rm -f conftest.er1
19923 cat conftest.err >&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); } &&
19926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19927 { (case "(($ac_try" in
19928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19929 *) ac_try_echo=$ac_try;;
19930 esac
19931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19932 (eval "$ac_try") 2>&5
19933 ac_status=$?
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); }; } &&
19936 { ac_try='test -s conftest$ac_exeext'
19937 { (case "(($ac_try" in
19938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19939 *) ac_try_echo=$ac_try;;
19940 esac
19941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19942 (eval "$ac_try") 2>&5
19943 ac_status=$?
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); }; }; then
19946 ac_cv_lib_gcc___fixsfdi=yes
19947 else
19948 echo "$as_me: failed program was:" >&5
19949 sed 's/^/| /' conftest.$ac_ext >&5
19950
19951 ac_cv_lib_gcc___fixsfdi=no
19952 fi
19953
19954 rm -f core conftest.err conftest.$ac_objext \
19955 conftest$ac_exeext conftest.$ac_ext
19956 LIBS=$ac_check_lib_save_LIBS
19957 fi
19958 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___fixsfdi" >&5
19959 echo "${ECHO_T}$ac_cv_lib_gcc___fixsfdi" >&6; }
19960 if test $ac_cv_lib_gcc___fixsfdi = yes; then
19961
19962 cat >>confdefs.h <<\_ACEOF
19963 #define HAVE___FIXSFDI 1
19964 _ACEOF
19965
19966 fi
19967
19968 { echo "$as_me:$LINENO: checking for __floatdidf in -lgcc" >&5
19969 echo $ECHO_N "checking for __floatdidf in -lgcc... $ECHO_C" >&6; }
19970 if test "${ac_cv_lib_gcc___floatdidf+set}" = set; then
19971 echo $ECHO_N "(cached) $ECHO_C" >&6
19972 else
19973 ac_check_lib_save_LIBS=$LIBS
19974 LIBS="-lgcc $LIBS"
19975 cat >conftest.$ac_ext <<_ACEOF
19976 /* confdefs.h. */
19977 _ACEOF
19978 cat confdefs.h >>conftest.$ac_ext
19979 cat >>conftest.$ac_ext <<_ACEOF
19980 /* end confdefs.h. */
19981
19982 /* Override any GCC internal prototype to avoid an error.
19983 Use char because int might match the return type of a GCC
19984 builtin and then its argument prototype would still apply. */
19985 #ifdef __cplusplus
19986 extern "C"
19987 #endif
19988 char __floatdidf ();
19989 int
19990 main ()
19991 {
19992 return __floatdidf ();
19993 ;
19994 return 0;
19995 }
19996 _ACEOF
19997 rm -f conftest.$ac_objext conftest$ac_exeext
19998 if { (ac_try="$ac_link"
19999 case "(($ac_try" in
20000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20001 *) ac_try_echo=$ac_try;;
20002 esac
20003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20004 (eval "$ac_link") 2>conftest.er1
20005 ac_status=$?
20006 grep -v '^ *+' conftest.er1 >conftest.err
20007 rm -f conftest.er1
20008 cat conftest.err >&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); } &&
20011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20012 { (case "(($ac_try" in
20013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20014 *) ac_try_echo=$ac_try;;
20015 esac
20016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20017 (eval "$ac_try") 2>&5
20018 ac_status=$?
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); }; } &&
20021 { ac_try='test -s conftest$ac_exeext'
20022 { (case "(($ac_try" in
20023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20024 *) ac_try_echo=$ac_try;;
20025 esac
20026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20027 (eval "$ac_try") 2>&5
20028 ac_status=$?
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; }; then
20031 ac_cv_lib_gcc___floatdidf=yes
20032 else
20033 echo "$as_me: failed program was:" >&5
20034 sed 's/^/| /' conftest.$ac_ext >&5
20035
20036 ac_cv_lib_gcc___floatdidf=no
20037 fi
20038
20039 rm -f core conftest.err conftest.$ac_objext \
20040 conftest$ac_exeext conftest.$ac_ext
20041 LIBS=$ac_check_lib_save_LIBS
20042 fi
20043 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___floatdidf" >&5
20044 echo "${ECHO_T}$ac_cv_lib_gcc___floatdidf" >&6; }
20045 if test $ac_cv_lib_gcc___floatdidf = yes; then
20046
20047 cat >>confdefs.h <<\_ACEOF
20048 #define HAVE___FLOATDIDF 1
20049 _ACEOF
20050
20051 fi
20052
20053 { echo "$as_me:$LINENO: checking for __lshrdi3 in -lgcc" >&5
20054 echo $ECHO_N "checking for __lshrdi3 in -lgcc... $ECHO_C" >&6; }
20055 if test "${ac_cv_lib_gcc___lshrdi3+set}" = set; then
20056 echo $ECHO_N "(cached) $ECHO_C" >&6
20057 else
20058 ac_check_lib_save_LIBS=$LIBS
20059 LIBS="-lgcc $LIBS"
20060 cat >conftest.$ac_ext <<_ACEOF
20061 /* confdefs.h. */
20062 _ACEOF
20063 cat confdefs.h >>conftest.$ac_ext
20064 cat >>conftest.$ac_ext <<_ACEOF
20065 /* end confdefs.h. */
20066
20067 /* Override any GCC internal prototype to avoid an error.
20068 Use char because int might match the return type of a GCC
20069 builtin and then its argument prototype would still apply. */
20070 #ifdef __cplusplus
20071 extern "C"
20072 #endif
20073 char __lshrdi3 ();
20074 int
20075 main ()
20076 {
20077 return __lshrdi3 ();
20078 ;
20079 return 0;
20080 }
20081 _ACEOF
20082 rm -f conftest.$ac_objext conftest$ac_exeext
20083 if { (ac_try="$ac_link"
20084 case "(($ac_try" in
20085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20086 *) ac_try_echo=$ac_try;;
20087 esac
20088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20089 (eval "$ac_link") 2>conftest.er1
20090 ac_status=$?
20091 grep -v '^ *+' conftest.er1 >conftest.err
20092 rm -f conftest.er1
20093 cat conftest.err >&5
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); } &&
20096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20097 { (case "(($ac_try" in
20098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20099 *) ac_try_echo=$ac_try;;
20100 esac
20101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20102 (eval "$ac_try") 2>&5
20103 ac_status=$?
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); }; } &&
20106 { ac_try='test -s conftest$ac_exeext'
20107 { (case "(($ac_try" in
20108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20109 *) ac_try_echo=$ac_try;;
20110 esac
20111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20112 (eval "$ac_try") 2>&5
20113 ac_status=$?
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); }; }; then
20116 ac_cv_lib_gcc___lshrdi3=yes
20117 else
20118 echo "$as_me: failed program was:" >&5
20119 sed 's/^/| /' conftest.$ac_ext >&5
20120
20121 ac_cv_lib_gcc___lshrdi3=no
20122 fi
20123
20124 rm -f core conftest.err conftest.$ac_objext \
20125 conftest$ac_exeext conftest.$ac_ext
20126 LIBS=$ac_check_lib_save_LIBS
20127 fi
20128 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___lshrdi3" >&5
20129 echo "${ECHO_T}$ac_cv_lib_gcc___lshrdi3" >&6; }
20130 if test $ac_cv_lib_gcc___lshrdi3 = yes; then
20131
20132 cat >>confdefs.h <<\_ACEOF
20133 #define HAVE___LSHRDI3 1
20134 _ACEOF
20135
20136 fi
20137
20138 { echo "$as_me:$LINENO: checking for __moddi3 in -lgcc" >&5
20139 echo $ECHO_N "checking for __moddi3 in -lgcc... $ECHO_C" >&6; }
20140 if test "${ac_cv_lib_gcc___moddi3+set}" = set; then
20141 echo $ECHO_N "(cached) $ECHO_C" >&6
20142 else
20143 ac_check_lib_save_LIBS=$LIBS
20144 LIBS="-lgcc $LIBS"
20145 cat >conftest.$ac_ext <<_ACEOF
20146 /* confdefs.h. */
20147 _ACEOF
20148 cat confdefs.h >>conftest.$ac_ext
20149 cat >>conftest.$ac_ext <<_ACEOF
20150 /* end confdefs.h. */
20151
20152 /* Override any GCC internal prototype to avoid an error.
20153 Use char because int might match the return type of a GCC
20154 builtin and then its argument prototype would still apply. */
20155 #ifdef __cplusplus
20156 extern "C"
20157 #endif
20158 char __moddi3 ();
20159 int
20160 main ()
20161 {
20162 return __moddi3 ();
20163 ;
20164 return 0;
20165 }
20166 _ACEOF
20167 rm -f conftest.$ac_objext conftest$ac_exeext
20168 if { (ac_try="$ac_link"
20169 case "(($ac_try" in
20170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20171 *) ac_try_echo=$ac_try;;
20172 esac
20173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20174 (eval "$ac_link") 2>conftest.er1
20175 ac_status=$?
20176 grep -v '^ *+' conftest.er1 >conftest.err
20177 rm -f conftest.er1
20178 cat conftest.err >&5
20179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180 (exit $ac_status); } &&
20181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20182 { (case "(($ac_try" in
20183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20184 *) ac_try_echo=$ac_try;;
20185 esac
20186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20187 (eval "$ac_try") 2>&5
20188 ac_status=$?
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); }; } &&
20191 { ac_try='test -s conftest$ac_exeext'
20192 { (case "(($ac_try" in
20193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20194 *) ac_try_echo=$ac_try;;
20195 esac
20196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20197 (eval "$ac_try") 2>&5
20198 ac_status=$?
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); }; }; then
20201 ac_cv_lib_gcc___moddi3=yes
20202 else
20203 echo "$as_me: failed program was:" >&5
20204 sed 's/^/| /' conftest.$ac_ext >&5
20205
20206 ac_cv_lib_gcc___moddi3=no
20207 fi
20208
20209 rm -f core conftest.err conftest.$ac_objext \
20210 conftest$ac_exeext conftest.$ac_ext
20211 LIBS=$ac_check_lib_save_LIBS
20212 fi
20213 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___moddi3" >&5
20214 echo "${ECHO_T}$ac_cv_lib_gcc___moddi3" >&6; }
20215 if test $ac_cv_lib_gcc___moddi3 = yes; then
20216
20217 cat >>confdefs.h <<\_ACEOF
20218 #define HAVE___MODDI3 1
20219 _ACEOF
20220
20221 fi
20222
20223 { echo "$as_me:$LINENO: checking for __udivdi3 in -lgcc" >&5
20224 echo $ECHO_N "checking for __udivdi3 in -lgcc... $ECHO_C" >&6; }
20225 if test "${ac_cv_lib_gcc___udivdi3+set}" = set; then
20226 echo $ECHO_N "(cached) $ECHO_C" >&6
20227 else
20228 ac_check_lib_save_LIBS=$LIBS
20229 LIBS="-lgcc $LIBS"
20230 cat >conftest.$ac_ext <<_ACEOF
20231 /* confdefs.h. */
20232 _ACEOF
20233 cat confdefs.h >>conftest.$ac_ext
20234 cat >>conftest.$ac_ext <<_ACEOF
20235 /* end confdefs.h. */
20236
20237 /* Override any GCC internal prototype to avoid an error.
20238 Use char because int might match the return type of a GCC
20239 builtin and then its argument prototype would still apply. */
20240 #ifdef __cplusplus
20241 extern "C"
20242 #endif
20243 char __udivdi3 ();
20244 int
20245 main ()
20246 {
20247 return __udivdi3 ();
20248 ;
20249 return 0;
20250 }
20251 _ACEOF
20252 rm -f conftest.$ac_objext conftest$ac_exeext
20253 if { (ac_try="$ac_link"
20254 case "(($ac_try" in
20255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20256 *) ac_try_echo=$ac_try;;
20257 esac
20258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20259 (eval "$ac_link") 2>conftest.er1
20260 ac_status=$?
20261 grep -v '^ *+' conftest.er1 >conftest.err
20262 rm -f conftest.er1
20263 cat conftest.err >&5
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); } &&
20266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20267 { (case "(($ac_try" in
20268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20269 *) ac_try_echo=$ac_try;;
20270 esac
20271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20272 (eval "$ac_try") 2>&5
20273 ac_status=$?
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); }; } &&
20276 { ac_try='test -s conftest$ac_exeext'
20277 { (case "(($ac_try" in
20278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20279 *) ac_try_echo=$ac_try;;
20280 esac
20281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20282 (eval "$ac_try") 2>&5
20283 ac_status=$?
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); }; }; then
20286 ac_cv_lib_gcc___udivdi3=yes
20287 else
20288 echo "$as_me: failed program was:" >&5
20289 sed 's/^/| /' conftest.$ac_ext >&5
20290
20291 ac_cv_lib_gcc___udivdi3=no
20292 fi
20293
20294 rm -f core conftest.err conftest.$ac_objext \
20295 conftest$ac_exeext conftest.$ac_ext
20296 LIBS=$ac_check_lib_save_LIBS
20297 fi
20298 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___udivdi3" >&5
20299 echo "${ECHO_T}$ac_cv_lib_gcc___udivdi3" >&6; }
20300 if test $ac_cv_lib_gcc___udivdi3 = yes; then
20301
20302 cat >>confdefs.h <<\_ACEOF
20303 #define HAVE___UDIVDI3 1
20304 _ACEOF
20305
20306 fi
20307
20308 { echo "$as_me:$LINENO: checking for __umoddi3 in -lgcc" >&5
20309 echo $ECHO_N "checking for __umoddi3 in -lgcc... $ECHO_C" >&6; }
20310 if test "${ac_cv_lib_gcc___umoddi3+set}" = set; then
20311 echo $ECHO_N "(cached) $ECHO_C" >&6
20312 else
20313 ac_check_lib_save_LIBS=$LIBS
20314 LIBS="-lgcc $LIBS"
20315 cat >conftest.$ac_ext <<_ACEOF
20316 /* confdefs.h. */
20317 _ACEOF
20318 cat confdefs.h >>conftest.$ac_ext
20319 cat >>conftest.$ac_ext <<_ACEOF
20320 /* end confdefs.h. */
20321
20322 /* Override any GCC internal prototype to avoid an error.
20323 Use char because int might match the return type of a GCC
20324 builtin and then its argument prototype would still apply. */
20325 #ifdef __cplusplus
20326 extern "C"
20327 #endif
20328 char __umoddi3 ();
20329 int
20330 main ()
20331 {
20332 return __umoddi3 ();
20333 ;
20334 return 0;
20335 }
20336 _ACEOF
20337 rm -f conftest.$ac_objext conftest$ac_exeext
20338 if { (ac_try="$ac_link"
20339 case "(($ac_try" in
20340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20341 *) ac_try_echo=$ac_try;;
20342 esac
20343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20344 (eval "$ac_link") 2>conftest.er1
20345 ac_status=$?
20346 grep -v '^ *+' conftest.er1 >conftest.err
20347 rm -f conftest.er1
20348 cat conftest.err >&5
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); } &&
20351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20352 { (case "(($ac_try" in
20353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20354 *) ac_try_echo=$ac_try;;
20355 esac
20356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20357 (eval "$ac_try") 2>&5
20358 ac_status=$?
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); }; } &&
20361 { ac_try='test -s conftest$ac_exeext'
20362 { (case "(($ac_try" in
20363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20364 *) ac_try_echo=$ac_try;;
20365 esac
20366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20367 (eval "$ac_try") 2>&5
20368 ac_status=$?
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); }; }; then
20371 ac_cv_lib_gcc___umoddi3=yes
20372 else
20373 echo "$as_me: failed program was:" >&5
20374 sed 's/^/| /' conftest.$ac_ext >&5
20375
20376 ac_cv_lib_gcc___umoddi3=no
20377 fi
20378
20379 rm -f core conftest.err conftest.$ac_objext \
20380 conftest$ac_exeext conftest.$ac_ext
20381 LIBS=$ac_check_lib_save_LIBS
20382 fi
20383 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___umoddi3" >&5
20384 echo "${ECHO_T}$ac_cv_lib_gcc___umoddi3" >&6; }
20385 if test $ac_cv_lib_gcc___umoddi3 = yes; then
20386
20387 cat >>confdefs.h <<\_ACEOF
20388 #define HAVE___UMODDI3 1
20389 _ACEOF
20390
20391 fi
20392
20393
20394 { echo "$as_me:$LINENO: checking for __main in -lgcc" >&5
20395 echo $ECHO_N "checking for __main in -lgcc... $ECHO_C" >&6; }
20396 if test "${ac_cv_lib_gcc___main+set}" = set; then
20397 echo $ECHO_N "(cached) $ECHO_C" >&6
20398 else
20399 ac_check_lib_save_LIBS=$LIBS
20400 LIBS="-lgcc $LIBS"
20401 cat >conftest.$ac_ext <<_ACEOF
20402 /* confdefs.h. */
20403 _ACEOF
20404 cat confdefs.h >>conftest.$ac_ext
20405 cat >>conftest.$ac_ext <<_ACEOF
20406 /* end confdefs.h. */
20407
20408 /* Override any GCC internal prototype to avoid an error.
20409 Use char because int might match the return type of a GCC
20410 builtin and then its argument prototype would still apply. */
20411 #ifdef __cplusplus
20412 extern "C"
20413 #endif
20414 char __main ();
20415 int
20416 main ()
20417 {
20418 return __main ();
20419 ;
20420 return 0;
20421 }
20422 _ACEOF
20423 rm -f conftest.$ac_objext conftest$ac_exeext
20424 if { (ac_try="$ac_link"
20425 case "(($ac_try" in
20426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20427 *) ac_try_echo=$ac_try;;
20428 esac
20429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20430 (eval "$ac_link") 2>conftest.er1
20431 ac_status=$?
20432 grep -v '^ *+' conftest.er1 >conftest.err
20433 rm -f conftest.er1
20434 cat conftest.err >&5
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); } &&
20437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20438 { (case "(($ac_try" in
20439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20440 *) ac_try_echo=$ac_try;;
20441 esac
20442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20443 (eval "$ac_try") 2>&5
20444 ac_status=$?
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); }; } &&
20447 { ac_try='test -s conftest$ac_exeext'
20448 { (case "(($ac_try" in
20449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20450 *) ac_try_echo=$ac_try;;
20451 esac
20452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20453 (eval "$ac_try") 2>&5
20454 ac_status=$?
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); }; }; then
20457 ac_cv_lib_gcc___main=yes
20458 else
20459 echo "$as_me: failed program was:" >&5
20460 sed 's/^/| /' conftest.$ac_ext >&5
20461
20462 ac_cv_lib_gcc___main=no
20463 fi
20464
20465 rm -f core conftest.err conftest.$ac_objext \
20466 conftest$ac_exeext conftest.$ac_ext
20467 LIBS=$ac_check_lib_save_LIBS
20468 fi
20469 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___main" >&5
20470 echo "${ECHO_T}$ac_cv_lib_gcc___main" >&6; }
20471 if test $ac_cv_lib_gcc___main = yes; then
20472
20473 cat >>confdefs.h <<\_ACEOF
20474 #define HAVE___MAIN 1
20475 _ACEOF
20476
20477 fi
20478
20479 { echo "$as_me:$LINENO: checking for __cmpdi2 in -lgcc" >&5
20480 echo $ECHO_N "checking for __cmpdi2 in -lgcc... $ECHO_C" >&6; }
20481 if test "${ac_cv_lib_gcc___cmpdi2+set}" = set; then
20482 echo $ECHO_N "(cached) $ECHO_C" >&6
20483 else
20484 ac_check_lib_save_LIBS=$LIBS
20485 LIBS="-lgcc $LIBS"
20486 cat >conftest.$ac_ext <<_ACEOF
20487 /* confdefs.h. */
20488 _ACEOF
20489 cat confdefs.h >>conftest.$ac_ext
20490 cat >>conftest.$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20492
20493 /* Override any GCC internal prototype to avoid an error.
20494 Use char because int might match the return type of a GCC
20495 builtin and then its argument prototype would still apply. */
20496 #ifdef __cplusplus
20497 extern "C"
20498 #endif
20499 char __cmpdi2 ();
20500 int
20501 main ()
20502 {
20503 return __cmpdi2 ();
20504 ;
20505 return 0;
20506 }
20507 _ACEOF
20508 rm -f conftest.$ac_objext conftest$ac_exeext
20509 if { (ac_try="$ac_link"
20510 case "(($ac_try" in
20511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20512 *) ac_try_echo=$ac_try;;
20513 esac
20514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20515 (eval "$ac_link") 2>conftest.er1
20516 ac_status=$?
20517 grep -v '^ *+' conftest.er1 >conftest.err
20518 rm -f conftest.er1
20519 cat conftest.err >&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); } &&
20522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20523 { (case "(($ac_try" in
20524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20525 *) ac_try_echo=$ac_try;;
20526 esac
20527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20528 (eval "$ac_try") 2>&5
20529 ac_status=$?
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); }; } &&
20532 { ac_try='test -s conftest$ac_exeext'
20533 { (case "(($ac_try" in
20534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20535 *) ac_try_echo=$ac_try;;
20536 esac
20537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20538 (eval "$ac_try") 2>&5
20539 ac_status=$?
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); }; }; then
20542 ac_cv_lib_gcc___cmpdi2=yes
20543 else
20544 echo "$as_me: failed program was:" >&5
20545 sed 's/^/| /' conftest.$ac_ext >&5
20546
20547 ac_cv_lib_gcc___cmpdi2=no
20548 fi
20549
20550 rm -f core conftest.err conftest.$ac_objext \
20551 conftest$ac_exeext conftest.$ac_ext
20552 LIBS=$ac_check_lib_save_LIBS
20553 fi
20554 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___cmpdi2" >&5
20555 echo "${ECHO_T}$ac_cv_lib_gcc___cmpdi2" >&6; }
20556 if test $ac_cv_lib_gcc___cmpdi2 = yes; then
20557
20558 cat >>confdefs.h <<\_ACEOF
20559 #define HAVE___CMPDI2 1
20560 _ACEOF
20561
20562 fi
20563
20564 fi
20565
1920120566
1920220567 { echo "$as_me:$LINENO: checking for isnan in " >&5
1920320568 echo $ECHO_N "checking for isnan in ... $ECHO_C" >&6; }
453453 /* Define if the xdot.py program is available */
454454 #undef HAVE_XDOT_PY
455455
456 /* Have host's _alloca */
457 #cmakedefine HAVE__ALLOCA ${HAVE__ALLOCA}
458
459 /* Have host's __alloca */
460 #cmakedefine HAVE___ALLOCA ${HAVE___ALLOCA}
461
462 /* Have host's __ashldi3 */
463 #cmakedefine HAVE___ASHLDI3 ${HAVE___ASHLDI3}
464
465 /* Have host's __ashrdi3 */
466 #cmakedefine HAVE___ASHRDI3 ${HAVE___ASHRDI3}
467
468 /* Have host's __chkstk */
469 #cmakedefine HAVE___CHKSTK ${HAVE___CHKSTK}
470
471 /* Have host's __cmpdi2 */
472 #cmakedefine HAVE___CMPDI2 ${HAVE___CMPDI2}
473
474 /* Have host's __divdi3 */
475 #cmakedefine HAVE___DIVDI3 ${HAVE___DIVDI3}
476
456477 /* Define to 1 if you have the `__dso_handle' function. */
457478 #undef HAVE___DSO_HANDLE
479
480 /* Have host's __fixdfdi */
481 #cmakedefine HAVE___FIXDFDI ${HAVE___FIXDFDI}
482
483 /* Have host's __fixsfdi */
484 #cmakedefine HAVE___FIXSFDI ${HAVE___FIXSFDI}
485
486 /* Have host's __floatdidf */
487 #cmakedefine HAVE___FLOATDIDF ${HAVE___FLOATDIDF}
488
489 /* Have host's __lshrdi3 */
490 #cmakedefine HAVE___LSHRDI3 ${HAVE___LSHRDI3}
491
492 /* Have host's __main */
493 #cmakedefine HAVE___MAIN ${HAVE___MAIN}
494
495 /* Have host's __moddi3 */
496 #cmakedefine HAVE___MODDI3 ${HAVE___MODDI3}
497
498 /* Have host's __udivdi3 */
499 #cmakedefine HAVE___UDIVDI3 ${HAVE___UDIVDI3}
500
501 /* Have host's __umoddi3 */
502 #cmakedefine HAVE___UMODDI3 ${HAVE___UMODDI3}
503
504 /* Have host's ___chkstk */
505 #cmakedefine HAVE____CHKSTK ${HAVE____CHKSTK}
458506
459507 /* Linker version detected at compile time. */
460508 #undef HOST_LINK_VERSION
475475 /* Define if the xdot.py program is available */
476476 #undef HAVE_XDOT_PY
477477
478 /* Have host's _alloca */
479 #undef HAVE__ALLOCA
480
481 /* Have host's __alloca */
482 #undef HAVE___ALLOCA
483
484 /* Have host's __ashldi3 */
485 #undef HAVE___ASHLDI3
486
487 /* Have host's __ashrdi3 */
488 #undef HAVE___ASHRDI3
489
490 /* Have host's __chkstk */
491 #undef HAVE___CHKSTK
492
493 /* Have host's __cmpdi2 */
494 #undef HAVE___CMPDI2
495
496 /* Have host's __divdi3 */
497 #undef HAVE___DIVDI3
498
478499 /* Define to 1 if you have the `__dso_handle' function. */
479500 #undef HAVE___DSO_HANDLE
501
502 /* Have host's __fixdfdi */
503 #undef HAVE___FIXDFDI
504
505 /* Have host's __fixsfdi */
506 #undef HAVE___FIXSFDI
507
508 /* Have host's __floatdidf */
509 #undef HAVE___FLOATDIDF
510
511 /* Have host's __lshrdi3 */
512 #undef HAVE___LSHRDI3
513
514 /* Have host's __main */
515 #undef HAVE___MAIN
516
517 /* Have host's __moddi3 */
518 #undef HAVE___MODDI3
519
520 /* Have host's __udivdi3 */
521 #undef HAVE___UDIVDI3
522
523 /* Have host's __umoddi3 */
524 #undef HAVE___UMODDI3
525
526 /* Have host's ___chkstk */
527 #undef HAVE____CHKSTK
480528
481529 /* Linker version detected at compile time. */
482530 #undef HOST_LINK_VERSION
109109
110110 // Stack probing routines are in the support library (e.g. libgcc), but we don't
111111 // have dynamic linking on windows. Provide a hook.
112 #if defined(__MINGW32__) || defined (_MSC_VER)
113 #define EXPLICIT_SYMBOL(SYM) \
114 if (!strcmp(symbolName, #SYM)) return (void*)&SYM
115 #define EXPLICIT_SYMBOL2(SYMFROM, SYMTO) \
116 if (!strcmp(symbolName, #SYMFROM)) return (void*)&SYMTO
117 #define EXPLICIT_SYMBOL_DEF(SYM) \
118 extern "C" { extern void *SYM; }
112 #define EXPLICIT_SYMBOL(SYM) \
113 extern "C" { extern void *SYM; }
114 #define EXPLICIT_SYMBOL2(SYMFROM, SYMTO) EXPLICIT_SYMBOL(SYMTO)
119115
120 #if defined(__MINGW32__)
121 EXPLICIT_SYMBOL_DEF(_alloca)
122 EXPLICIT_SYMBOL_DEF(__main)
123 EXPLICIT_SYMBOL_DEF(__ashldi3)
124 EXPLICIT_SYMBOL_DEF(__ashrdi3)
125 EXPLICIT_SYMBOL_DEF(__cmpdi2)
126 EXPLICIT_SYMBOL_DEF(__divdi3)
127 EXPLICIT_SYMBOL_DEF(__fixdfdi)
128 EXPLICIT_SYMBOL_DEF(__fixsfdi)
129 EXPLICIT_SYMBOL_DEF(__fixunsdfdi)
130 EXPLICIT_SYMBOL_DEF(__fixunssfdi)
131 EXPLICIT_SYMBOL_DEF(__floatdidf)
132 EXPLICIT_SYMBOL_DEF(__floatdisf)
133 EXPLICIT_SYMBOL_DEF(__lshrdi3)
134 EXPLICIT_SYMBOL_DEF(__moddi3)
135 EXPLICIT_SYMBOL_DEF(__udivdi3)
136 EXPLICIT_SYMBOL_DEF(__umoddi3)
137 #elif defined(_MSC_VER)
138 EXPLICIT_SYMBOL_DEF(_alloca_probe)
139 #endif
140 #endif
116 #include "explicit_symbols.inc"
117
118 #undef EXPLICIT_SYMBOL
119 #undef EXPLICIT_SYMBOL2
141120
142121 void* DynamicLibrary::SearchForAddressOfSymbol(const char* symbolName) {
143122 // First check symbols added via AddSymbol().
158137 }
159138 }
160139
161 #if defined(__MINGW32__)
140 #define EXPLICIT_SYMBOL(SYM) \
141 if (!strcmp(symbolName, #SYM)) return (void*)&SYM;
142 #define EXPLICIT_SYMBOL2(SYMFROM, SYMTO) \
143 if (!strcmp(symbolName, #SYMFROM)) return (void*)&SYMTO;
144
162145 {
163 EXPLICIT_SYMBOL(_alloca);
164 EXPLICIT_SYMBOL(__main);
165 EXPLICIT_SYMBOL(__ashldi3);
166 EXPLICIT_SYMBOL(__ashrdi3);
167 EXPLICIT_SYMBOL(__cmpdi2);
168 EXPLICIT_SYMBOL(__divdi3);
169 EXPLICIT_SYMBOL(__fixdfdi);
170 EXPLICIT_SYMBOL(__fixsfdi);
171 EXPLICIT_SYMBOL(__fixunsdfdi);
172 EXPLICIT_SYMBOL(__fixunssfdi);
173 EXPLICIT_SYMBOL(__floatdidf);
174 EXPLICIT_SYMBOL(__floatdisf);
175 EXPLICIT_SYMBOL(__lshrdi3);
176 EXPLICIT_SYMBOL(__moddi3);
177 EXPLICIT_SYMBOL(__udivdi3);
178 EXPLICIT_SYMBOL(__umoddi3);
146 #include "explicit_symbols.inc"
147 }
179148
180 EXPLICIT_SYMBOL2(alloca, _alloca);
181 #undef EXPLICIT_SYMBOL
182 #undef EXPLICIT_SYMBOL2
183 #undef EXPLICIT_SYMBOL_DEF
184 }
185 #elif defined(_MSC_VER)
186 {
187 EXPLICIT_SYMBOL2(alloca, _alloca_probe);
188 EXPLICIT_SYMBOL2(_alloca, _alloca_probe);
189 #undef EXPLICIT_SYMBOL
190 #undef EXPLICIT_SYMBOL2
191 #undef EXPLICIT_SYMBOL_DEF
192 }
193 #endif
149 #undef EXPLICIT_SYMBOL
150 #undef EXPLICIT_SYMBOL2
194151
195152 return 0;
196153 }
0 /* in libgcc.a */
1
2 #ifdef HAVE__ALLOCA
3 EXPLICIT_SYMBOL(_alloca)
4 EXPLICIT_SYMBOL2(alloca, _alloca);
5 #endif
6 #ifdef HAVE___ALLOCA
7 EXPLICIT_SYMBOL(__alloca)
8 #endif
9 #ifdef HAVE___CHKSTK
10 EXPLICIT_SYMBOL(__chkstk)
11 #endif
12 #ifdef HAVE____CHKSTK
13 EXPLICIT_SYMBOL(___chkstk)
14 #endif
15 #ifdef HAVE___MAIN
16 EXPLICIT_SYMBOL(__main) // FIXME: Don't call it.
17 #endif
18
19 #ifdef HAVE___ASHLDI3
20 EXPLICIT_SYMBOL(__ashldi3)
21 #endif
22 #ifdef HAVE___ASHRDI3
23 EXPLICIT_SYMBOL(__ashrdi3)
24 #endif
25 #ifdef HAVE___CMPDI2 // FIXME: unused
26 EXPLICIT_SYMBOL(__cmpdi2)
27 #endif
28 #ifdef HAVE___DIVDI3
29 EXPLICIT_SYMBOL(__divdi3)
30 #endif
31 #ifdef HAVE___FIXDFDI
32 EXPLICIT_SYMBOL(__fixdfdi)
33 #endif
34 #ifdef HAVE___FIXSFDI
35 EXPLICIT_SYMBOL(__fixsfdi)
36 #endif
37 #ifdef HAVE___FIXUNSDFDI
38 EXPLICIT_SYMBOL(__fixunsdfdi)
39 #endif
40 #ifdef HAVE___FIXUNSSFDI
41 EXPLICIT_SYMBOL(__fixunssfdi)
42 #endif
43 #ifdef HAVE___FLOATDIDF
44 EXPLICIT_SYMBOL(__floatdidf)
45 #endif
46 #ifdef HAVE___FLOATDISF
47 EXPLICIT_SYMBOL(__floatdisf)
48 #endif
49 #ifdef HAVE___LSHRDI3
50 EXPLICIT_SYMBOL(__lshrdi3)
51 #endif
52 #ifdef HAVE___MODDI3
53 EXPLICIT_SYMBOL(__moddi3)
54 #endif
55 #ifdef HAVE___UDIVDI3
56 EXPLICIT_SYMBOL(__udivdi3)
57 #endif
58 #ifdef HAVE___UMODDI3
59 EXPLICIT_SYMBOL(__umoddi3)
60 #endif
61
62 /* msvcrt */
63 #if defined(_MSC_VER)
64 EXPLICIT_SYMBOL2(alloca, _alloca_probe);
65 #endif