comparison gcc/configure @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents ab0bcb71f44d 84e7813d76e9
children 351920fa3827
comparison
equal deleted inserted replaced
130:e108057fa461 132:d34655255c78
654 TM_MULTILIB_CONFIG 654 TM_MULTILIB_CONFIG
655 TM_ENDIAN_CONFIG 655 TM_ENDIAN_CONFIG
656 tmake_file 656 tmake_file
657 xmake_file 657 xmake_file
658 cpp_install_dir 658 cpp_install_dir
659 selftest_languages
659 check_languages 660 check_languages
660 build_file_translate 661 build_file_translate
661 build_xm_defines 662 build_xm_defines
662 build_xm_include_list 663 build_xm_include_list
663 build_xm_file_list 664 build_xm_file_list
678 zlibinc 679 zlibinc
679 zlibdir 680 zlibdir
680 HOST_LIBS 681 HOST_LIBS
681 enable_default_ssp 682 enable_default_ssp
682 thin_archive_support 683 thin_archive_support
684 ld_soname_option
685 ld_version_script_option
683 libgcc_visibility 686 libgcc_visibility
684 gcc_cv_readelf 687 gcc_cv_readelf
685 gcc_cv_objdump 688 gcc_cv_objdump
686 ORIGINAL_NM_FOR_TARGET 689 ORIGINAL_NM_FOR_TARGET
687 gcc_cv_nm 690 gcc_cv_nm
775 enable_as_accelerator 778 enable_as_accelerator
776 REPORT_BUGS_TEXI 779 REPORT_BUGS_TEXI
777 REPORT_BUGS_TO 780 REPORT_BUGS_TO
778 PKGVERSION 781 PKGVERSION
779 CONFIGURE_SPECS 782 CONFIGURE_SPECS
783 enable_gcov
780 enable_shared 784 enable_shared
781 enable_fixed_point 785 enable_fixed_point
782 enable_decimal_float 786 enable_decimal_float
783 with_float 787 with_float
784 with_cpu 788 with_cpu
901 enable_gather_detailed_mem_stats 905 enable_gather_detailed_mem_stats
902 enable_valgrind_annotations 906 enable_valgrind_annotations
903 with_stabs 907 with_stabs
904 enable_multilib 908 enable_multilib
905 enable_multiarch 909 enable_multiarch
910 with_stack_clash_protection_guard_size
906 enable___cxa_atexit 911 enable___cxa_atexit
907 enable_decimal_float 912 enable_decimal_float
908 enable_fixed_point 913 enable_fixed_point
909 enable_threads 914 enable_threads
910 enable_tls 915 enable_tls
911 enable_vtable_verify 916 enable_vtable_verify
912 enable_objc_gc 917 enable_objc_gc
913 with_dwarf2 918 with_dwarf2
914 enable_shared 919 enable_shared
920 enable_gcov
915 with_specs 921 with_specs
916 with_pkgversion 922 with_pkgversion
917 with_bugurl 923 with_bugurl
918 enable_languages 924 enable_languages
919 with_multilib_list 925 with_multilib_list
921 with_libiconv_prefix 927 with_libiconv_prefix
922 enable_sjlj_exceptions 928 enable_sjlj_exceptions
923 with_gcc_major_version_only 929 with_gcc_major_version_only
924 enable_secureplt 930 enable_secureplt
925 enable_mingw_wildcard 931 enable_mingw_wildcard
932 enable_large_address_aware
926 enable_leading_mingw64_underscores 933 enable_leading_mingw64_underscores
927 enable_cld 934 enable_cld
928 enable_frame_pointer 935 enable_frame_pointer
929 enable_win32_registry 936 enable_win32_registry
930 enable_static 937 enable_static
940 enable_fix_cortex_a53_835769 947 enable_fix_cortex_a53_835769
941 enable_fix_cortex_a53_843419 948 enable_fix_cortex_a53_843419
942 with_glibc_version 949 with_glibc_version
943 enable_gnu_unique_object 950 enable_gnu_unique_object
944 enable_linker_build_id 951 enable_linker_build_id
952 enable_libssp
945 enable_default_ssp 953 enable_default_ssp
946 with_long_double_128 954 with_long_double_128
955 with_long_double_format
947 with_gc 956 with_gc
948 with_system_zlib 957 with_system_zlib
949 enable_maintainer_mode 958 enable_maintainer_mode
950 enable_link_mutex 959 enable_link_mutex
951 enable_version_specific_runtime_libs 960 enable_version_specific_runtime_libs
1628 the assembler check for tls support 1637 the assembler check for tls support
1629 --enable-vtable-verify enable vtable verification feature 1638 --enable-vtable-verify enable vtable verification feature
1630 --enable-objc-gc enable the use of Boehm's garbage collector with the 1639 --enable-objc-gc enable the use of Boehm's garbage collector with the
1631 GNU Objective-C runtime 1640 GNU Objective-C runtime
1632 --disable-shared don't provide a shared libgcc 1641 --disable-shared don't provide a shared libgcc
1642 --disable-gcov don't provide libgcov and related host tools
1633 --enable-languages=LIST specify which front-ends to build 1643 --enable-languages=LIST specify which front-ends to build
1634 --disable-rpath do not hardcode runtime library paths 1644 --disable-rpath do not hardcode runtime library paths
1635 --enable-sjlj-exceptions 1645 --enable-sjlj-exceptions
1636 arrange to use setjmp/longjmp exception handling 1646 arrange to use setjmp/longjmp exception handling
1637 --enable-secureplt enable -msecure-plt by default for PowerPC 1647 --enable-secureplt enable -msecure-plt by default for PowerPC
1638 --enable-mingw-wildcard Set whether to expand wildcard on command-line. 1648 --enable-mingw-wildcard Set whether to expand wildcard on command-line.
1639 Default to platform configuration 1649 Default to platform configuration
1650 --enable-large-address-aware
1651 Link mingw executables with --large-address-aware
1640 --enable-leading-mingw64-underscores 1652 --enable-leading-mingw64-underscores
1641 enable leading underscores on 64 bit mingw targets 1653 enable leading underscores on 64 bit mingw targets
1642 --enable-cld enable -mcld by default for 32bit x86 1654 --enable-cld enable -mcld by default for 32bit x86
1643 --enable-frame-pointer enable -fno-omit-frame-pointer by default for 32bit 1655 --enable-frame-pointer enable -fno-omit-frame-pointer by default for 32bit
1644 x86 1656 x86
1680 --enable-gnu-unique-object 1692 --enable-gnu-unique-object
1681 enable the use of the @gnu_unique_object ELF 1693 enable the use of the @gnu_unique_object ELF
1682 extension on glibc systems 1694 extension on glibc systems
1683 --enable-linker-build-id 1695 --enable-linker-build-id
1684 compiler will always pass --build-id to linker 1696 compiler will always pass --build-id to linker
1697 --enable-libssp enable linking against libssp
1685 --enable-default-ssp enable Stack Smashing Protection as default 1698 --enable-default-ssp enable Stack Smashing Protection as default
1686 --enable-maintainer-mode 1699 --enable-maintainer-mode
1687 enable make rules and dependencies not useful (and 1700 enable make rules and dependencies not useful (and
1688 sometimes confusing) to the casual installer 1701 sometimes confusing) to the casual installer
1689 --enable-link-mutex avoid linking multiple front-ends at once to avoid 1702 --enable-link-mutex avoid linking multiple front-ends at once to avoid
1717 --with-ld arrange to use the specified ld (full pathname) 1730 --with-ld arrange to use the specified ld (full pathname)
1718 --with-demangler-in-ld try to use demangler in GNU ld 1731 --with-demangler-in-ld try to use demangler in GNU ld
1719 --with-gnu-as arrange to work with GNU as 1732 --with-gnu-as arrange to work with GNU as
1720 --with-as arrange to use the specified as (full pathname) 1733 --with-as arrange to use the specified as (full pathname)
1721 --with-stabs arrange to use stabs instead of host debug format 1734 --with-stabs arrange to use stabs instead of host debug format
1735 --with-stack-clash-protection-guard-size=size
1736 Set the default stack clash protection guard size
1737 for specific targets as a power of two in bytes.
1722 --with-dwarf2 force the default debug format to be DWARF 2 1738 --with-dwarf2 force the default debug format to be DWARF 2
1723 --with-specs=SPECS add SPECS to driver command-line processing 1739 --with-specs=SPECS add SPECS to driver command-line processing
1724 --with-pkgversion=PKG Use PKG in the version string in place of "GCC" 1740 --with-pkgversion=PKG Use PKG in the version string in place of "GCC"
1725 --with-bugurl=URL Direct users to URL to report a bug 1741 --with-bugurl=URL Direct users to URL to report a bug
1726 --with-multilib-list select multilibs (AArch64, SH and x86-64 only) 1742 --with-multilib-list select multilibs (AArch64, SH and x86-64 only)
1734 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1750 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1735 --with-plugin-ld=[ARG] specify the plugin linker 1751 --with-plugin-ld=[ARG] specify the plugin linker
1736 --with-glibc-version=M.N 1752 --with-glibc-version=M.N
1737 assume GCC used with glibc version M.N or later 1753 assume GCC used with glibc version M.N or later
1738 --with-long-double-128 use 128-bit long double by default 1754 --with-long-double-128 use 128-bit long double by default
1755 --with-long-double-format={ieee,ibm}
1756 Specify whether PowerPC long double uses IEEE or IBM format
1757
1739 --with-gc={page,zone} this option is not supported anymore. It used to 1758 --with-gc={page,zone} this option is not supported anymore. It used to
1740 choose the garbage collection mechanism to use with 1759 choose the garbage collection mechanism to use with
1741 the compiler 1760 the compiler
1742 --with-system-zlib use installed libz 1761 --with-system-zlib use installed libz
1743 --with-linker-hash-style={sysv,gnu,both} 1762 --with-linker-hash-style={sysv,gnu,both}
3570 *) gcc_gxx_include_dir=$with_gxx_include_dir ;; 3589 *) gcc_gxx_include_dir=$with_gxx_include_dir ;;
3571 esac 3590 esac
3572 fi 3591 fi
3573 3592
3574 3593
3594 # If both --with-sysroot and --with-gxx-include-dir are passed, we interpolate
3595 # the former in the latter and, upon success, compute gcc_gxx_include_dir as
3596 # relative to the sysroot.
3597 gcc_gxx_include_dir_add_sysroot=0
3598
3575 # This logic must match libstdc++-v3/acinclude.m4:GLIBCXX_EXPORT_INSTALL_INFO. 3599 # This logic must match libstdc++-v3/acinclude.m4:GLIBCXX_EXPORT_INSTALL_INFO.
3576 if test x${gcc_gxx_include_dir} = x; then 3600 if test x${gcc_gxx_include_dir} = x; then
3577 if test x${enable_version_specific_runtime_libs} = xyes; then 3601 if test x${enable_version_specific_runtime_libs} = xyes; then
3578 gcc_gxx_include_dir='${libsubdir}/include/c++' 3602 gcc_gxx_include_dir='${libsubdir}/include/c++'
3579 else 3603 else
3581 if test x$host != x$target; then 3605 if test x$host != x$target; then
3582 libstdcxx_incdir="$target_alias/$libstdcxx_incdir" 3606 libstdcxx_incdir="$target_alias/$libstdcxx_incdir"
3583 fi 3607 fi
3584 gcc_gxx_include_dir="\$(libsubdir)/\$(libsubdir_to_prefix)$libstdcxx_incdir" 3608 gcc_gxx_include_dir="\$(libsubdir)/\$(libsubdir_to_prefix)$libstdcxx_incdir"
3585 fi 3609 fi
3586 fi 3610 elif test "${with_sysroot+set}" = set; then
3587
3588 gcc_gxx_include_dir_add_sysroot=0
3589 if test "${with_sysroot+set}" = set; then
3590 gcc_gxx_without_sysroot=`expr "${gcc_gxx_include_dir}" : "${with_sysroot}"'\(.*\)'` 3611 gcc_gxx_without_sysroot=`expr "${gcc_gxx_include_dir}" : "${with_sysroot}"'\(.*\)'`
3591 if test "${gcc_gxx_without_sysroot}"; then 3612 if test "${gcc_gxx_without_sysroot}"; then
3592 if test x${with_sysroot} != x/; then 3613 gcc_gxx_include_dir="${gcc_gxx_without_sysroot}"
3593 gcc_gxx_include_dir="${gcc_gxx_without_sysroot}"
3594 fi
3595 gcc_gxx_include_dir_add_sysroot=1 3614 gcc_gxx_include_dir_add_sysroot=1
3596 fi 3615 fi
3597 fi 3616 fi
3598 3617
3599 3618
7319 # Enable code coverage collection 7338 # Enable code coverage collection
7320 # Check whether --enable-coverage was given. 7339 # Check whether --enable-coverage was given.
7321 if test "${enable_coverage+set}" = set; then : 7340 if test "${enable_coverage+set}" = set; then :
7322 enableval=$enable_coverage; case "${enableval}" in 7341 enableval=$enable_coverage; case "${enableval}" in
7323 yes|noopt) 7342 yes|noopt)
7324 coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O0" 7343 coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O0 -fkeep-static-functions"
7325 ;; 7344 ;;
7326 opt) 7345 opt)
7327 coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O2" 7346 coverage_flags="-fprofile-arcs -ftest-coverage -frandom-seed=\$@ -O2 -fkeep-static-functions"
7328 ;; 7347 ;;
7329 no) 7348 no)
7330 # a.k.a. --disable-coverage 7349 # a.k.a. --disable-coverage
7331 coverage_flags="" 7350 coverage_flags=""
7332 ;; 7351 ;;
7426 7445
7427 # needed for setting the multiarch name for soft-float/hard-float ABIs 7446 # needed for setting the multiarch name for soft-float/hard-float ABIs
7428 7447
7429 7448
7430 7449
7450 # default stack clash protection guard size as power of twos in bytes.
7451 # Please keep these in sync with params.def.
7452 stk_clash_min=12
7453 stk_clash_max=30
7454
7455 # Keep the default value when the option is not used to 0, this allows us to
7456 # distinguish between the cases where the user specifially set a value via
7457 # configure and when the normal default value is used.
7458
7459 # Check whether --with-stack-clash-protection-guard-size was given.
7460 if test "${with_stack_clash_protection_guard_size+set}" = set; then :
7461 withval=$with_stack_clash_protection_guard_size; DEFAULT_STK_CLASH_GUARD_SIZE="$with_stack_clash_protection_guard_size"
7462 else
7463 DEFAULT_STK_CLASH_GUARD_SIZE=0
7464 fi
7465
7466 if test $DEFAULT_STK_CLASH_GUARD_SIZE -ne 0 \
7467 && (test $DEFAULT_STK_CLASH_GUARD_SIZE -lt $stk_clash_min \
7468 || test $DEFAULT_STK_CLASH_GUARD_SIZE -gt $stk_clash_max); then
7469 as_fn_error "Invalid value $DEFAULT_STK_CLASH_GUARD_SIZE for --with-stack-clash-protection-guard-size. Must be between $stk_clash_min and $stk_clash_max." "$LINENO" 5
7470 fi
7471
7472
7473 cat >>confdefs.h <<_ACEOF
7474 #define DEFAULT_STK_CLASH_GUARD_SIZE $DEFAULT_STK_CLASH_GUARD_SIZE
7475 _ACEOF
7476
7477
7431 # Enable __cxa_atexit for C++. 7478 # Enable __cxa_atexit for C++.
7432 # Check whether --enable-__cxa_atexit was given. 7479 # Check whether --enable-__cxa_atexit was given.
7433 if test "${enable___cxa_atexit+set}" = set; then : 7480 if test "${enable___cxa_atexit+set}" = set; then :
7434 enableval=$enable___cxa_atexit; 7481 enableval=$enable___cxa_atexit;
7435 fi 7482 fi
7448 7495
7449 else 7496 else
7450 7497
7451 case $target in 7498 case $target in
7452 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \ 7499 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
7453 i?86*-*-elfiamcu | i?86*-*-gnu* | \ 7500 i?86*-*-elfiamcu | i?86*-*-gnu* | x86_64*-*-gnu* | \
7454 i?86*-*-mingw* | x86_64*-*-mingw* | \ 7501 i?86*-*-mingw* | x86_64*-*-mingw* | \
7455 i?86*-*-cygwin* | x86_64*-*-cygwin*) 7502 i?86*-*-cygwin* | x86_64*-*-cygwin*)
7456 enable_decimal_float=yes 7503 enable_decimal_float=yes
7457 ;; 7504 ;;
7458 *) 7505 *)
7614 ;; 7661 ;;
7615 esac 7662 esac
7616 7663
7617 else 7664 else
7618 enable_shared=yes 7665 enable_shared=yes
7666 fi
7667
7668
7669
7670 # Check whether --enable-gcov was given.
7671 if test "${enable_gcov+set}" = set; then :
7672 enableval=$enable_gcov;
7673 else
7674 enable_gcov=yes
7619 fi 7675 fi
7620 7676
7621 7677
7622 7678
7623 7679
11814 11870
11815 # Compile in configure arguments. 11871 # Compile in configure arguments.
11816 if test -f configargs.h ; then 11872 if test -f configargs.h ; then
11817 # Being re-configured. 11873 # Being re-configured.
11818 gcc_config_arguments=`grep configuration_arguments configargs.h | sed -e 's/.*"\([^"]*\)".*/\1/'` 11874 gcc_config_arguments=`grep configuration_arguments configargs.h | sed -e 's/.*"\([^"]*\)".*/\1/'`
11819 gcc_config_arguments="$gcc_config_arguments : (reconfigured) $TOPLEVEL_CONFIGURE_ARGUMENTS" 11875 gcc_reconf_arguments=`echo "$gcc_config_arguments" | sed -e 's/^.*\( : (reconfigured) .*$\)/\1/'`
11876 if [ "$gcc_reconf_arguments" != " : (reconfigured) $TOPLEVEL_CONFIGURE_ARGUMENTS" ]; then
11877 gcc_config_arguments="$gcc_config_arguments : (reconfigured) $TOPLEVEL_CONFIGURE_ARGUMENTS"
11878 fi
11820 else 11879 else
11821 gcc_config_arguments="$TOPLEVEL_CONFIGURE_ARGUMENTS" 11880 gcc_config_arguments="$TOPLEVEL_CONFIGURE_ARGUMENTS"
11822 fi 11881 fi
11823 11882
11824 # Double all backslashes and backslash all quotes to turn 11883 # Double all backslashes and backslash all quotes to turn
11873 get_gcc_base_ver="cat" 11932 get_gcc_base_ver="cat"
11874 11933
11875 # Check whether --with-gcc-major-version-only was given. 11934 # Check whether --with-gcc-major-version-only was given.
11876 if test "${with_gcc_major_version_only+set}" = set; then : 11935 if test "${with_gcc_major_version_only+set}" = set; then :
11877 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then 11936 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
11878 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'" 11937 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
11879 fi 11938 fi
11880 11939
11881 fi 11940 fi
11882 11941
11883 11942
11977 if test x"$enable_mingw_wildcard" != xplatform ; then : 12036 if test x"$enable_mingw_wildcard" != xplatform ; then :
11978 12037
11979 cat >>confdefs.h <<_ACEOF 12038 cat >>confdefs.h <<_ACEOF
11980 #define MINGW_DOWILDCARD $(test x"$enable_mingw_wildcard" = xno; echo $?) 12039 #define MINGW_DOWILDCARD $(test x"$enable_mingw_wildcard" = xno; echo $?)
11981 _ACEOF 12040 _ACEOF
12041
12042 fi
12043
12044 # Check whether --enable-large-address-aware was given.
12045 if test "${enable_large_address_aware+set}" = set; then :
12046 enableval=$enable_large_address_aware;
12047 fi
12048
12049 if test x"$enable_large_address_aware" = xyes; then :
12050
12051 $as_echo "#define MINGW_DEFAULT_LARGE_ADDR_AWARE 1" >>confdefs.h
11982 12052
11983 fi 12053 fi
11984 12054
11985 # Check whether --enable-leading-mingw64-underscores was given. 12055 # Check whether --enable-leading-mingw64-underscores was given.
11986 if test "${enable_leading_mingw64_underscores+set}" = set; then : 12056 if test "${enable_leading_mingw64_underscores+set}" = set; then :
18438 lt_cv_dlopen_self=cross 18508 lt_cv_dlopen_self=cross
18439 else 18509 else
18440 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 18510 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18441 lt_status=$lt_dlunknown 18511 lt_status=$lt_dlunknown
18442 cat > conftest.$ac_ext <<_LT_EOF 18512 cat > conftest.$ac_ext <<_LT_EOF
18443 #line 18443 "configure" 18513 #line 18513 "configure"
18444 #include "confdefs.h" 18514 #include "confdefs.h"
18445 18515
18446 #if HAVE_DLFCN_H 18516 #if HAVE_DLFCN_H
18447 #include <dlfcn.h> 18517 #include <dlfcn.h>
18448 #endif 18518 #endif
18544 lt_cv_dlopen_self_static=cross 18614 lt_cv_dlopen_self_static=cross
18545 else 18615 else
18546 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 18616 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18547 lt_status=$lt_dlunknown 18617 lt_status=$lt_dlunknown
18548 cat > conftest.$ac_ext <<_LT_EOF 18618 cat > conftest.$ac_ext <<_LT_EOF
18549 #line 18549 "configure" 18619 #line 18619 "configure"
18550 #include "confdefs.h" 18620 #include "confdefs.h"
18551 18621
18552 #if HAVE_DLFCN_H 18622 #if HAVE_DLFCN_H
18553 #include <dlfcn.h> 18623 #include <dlfcn.h>
18554 #endif 18624 #endif
19709 case `$CC -V` in 19779 case `$CC -V` in
19710 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 19780 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
19711 prelink_cmds_CXX='tpldir=Template.dir~ 19781 prelink_cmds_CXX='tpldir=Template.dir~
19712 rm -rf $tpldir~ 19782 rm -rf $tpldir~
19713 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 19783 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
19714 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' 19784 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
19715 old_archive_cmds_CXX='tpldir=Template.dir~ 19785 old_archive_cmds_CXX='tpldir=Template.dir~
19716 rm -rf $tpldir~ 19786 rm -rf $tpldir~
19717 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 19787 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
19718 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ 19788 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
19719 $RANLIB $oldlib' 19789 $RANLIB $oldlib'
19720 archive_cmds_CXX='tpldir=Template.dir~ 19790 archive_cmds_CXX='tpldir=Template.dir~
19721 rm -rf $tpldir~ 19791 rm -rf $tpldir~
19722 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 19792 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
19723 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 19793 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
19724 archive_expsym_cmds_CXX='tpldir=Template.dir~ 19794 archive_expsym_cmds_CXX='tpldir=Template.dir~
19725 rm -rf $tpldir~ 19795 rm -rf $tpldir~
19726 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 19796 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
19727 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 19797 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
19728 ;; 19798 ;;
19729 *) # Version 6 and above use weak symbols 19799 *) # Version 6 and above use weak symbols
19730 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 19800 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
19731 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 19801 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
19732 ;; 19802 ;;
22781 ld_vers_minor=`expr "$ld_vers" : '[0-9]*\.\([0-9]*\)'` 22851 ld_vers_minor=`expr "$ld_vers" : '[0-9]*\.\([0-9]*\)'`
22782 ld_vers_patch=`expr "$ld_vers" : '[0-9]*\.[0-9]*\.\([0-9]*\)'` 22852 ld_vers_patch=`expr "$ld_vers" : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
22783 else 22853 else
22784 case "${target}" in 22854 case "${target}" in
22785 *-*-solaris2*) 22855 *-*-solaris2*)
22786 # See acinclude.m4 (gcc_SUN_LD_VERSION) for the version number 22856 # Solaris 2 ld -V output looks like this for a regular version:
22787 # format.
22788 # 22857 #
22789 # Don't reuse gcc_gv_sun_ld_vers_* in case a linker other than 22858 # ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1699
22790 # /usr/ccs/bin/ld has been configured. 22859 #
22860 # but test versions add stuff at the end:
22861 #
22862 # ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1701:onnv-ab196087-6931056-03/25/10
22863 #
22864 # In Solaris 11.4, this was changed to
22865 #
22866 # ld: Solaris ELF Utilities: 11.4-1.3123
22867 #
22868 # ld and ld.so.1 are guaranteed to be updated in lockstep, so ld version
22869 # numbers can be used in ld.so.1 feature checks even if a different
22870 # linker is configured.
22791 ld_ver=`$gcc_cv_ld -V 2>&1` 22871 ld_ver=`$gcc_cv_ld -V 2>&1`
22792 if echo "$ld_ver" | grep 'Solaris Link Editors' > /dev/null; then 22872 if echo "$ld_ver" | $EGREP 'Solaris Link Editors|Solaris ELF Utilities' > /dev/null; then
22793 ld_vers=`echo $ld_ver | sed -n \ 22873 ld_vers=`echo $ld_ver | sed -n \
22794 -e 's,^.*: 5\.[0-9][0-9]*-\([0-9]\.[0-9][0-9]*\).*$,\1,p'` 22874 -e 's,^.*: \(5\|1[0-9]\)\.[0-9][0-9]*-\([0-9]\.[0-9][0-9]*\).*$,\2,p'`
22795 ld_vers_major=`expr "$ld_vers" : '\([0-9]*\)'` 22875 ld_vers_major=`expr "$ld_vers" : '\([0-9]*\)'`
22796 ld_vers_minor=`expr "$ld_vers" : '[0-9]*\.\([0-9]*\)'` 22876 ld_vers_minor=`expr "$ld_vers" : '[0-9]*\.\([0-9]*\)'`
22797 fi 22877 fi
22798 ;; 22878 ;;
22799 esac 22879 esac
22912 $as_echo "#define HAVE_LD_RO_RW_SECTION_MIXING 1" >>confdefs.h 22992 $as_echo "#define HAVE_LD_RO_RW_SECTION_MIXING 1" >>confdefs.h
22913 22993
22914 fi 22994 fi
22915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_ld_ro_rw_mix" >&5 22995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_ld_ro_rw_mix" >&5
22916 $as_echo "$gcc_cv_ld_ro_rw_mix" >&6; } 22996 $as_echo "$gcc_cv_ld_ro_rw_mix" >&6; }
22917
22918 if test "x${build}" = "x${target}" && test "x${build}" = "x${host}"; then
22919 case "${target}" in
22920 *-*-solaris2*)
22921 #
22922 # Solaris 2 ld -V output looks like this for a regular version:
22923 #
22924 # ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1699
22925 #
22926 # but test versions add stuff at the end:
22927 #
22928 # ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1701:onnv-ab196087-6931056-03/25/10
22929 #
22930 gcc_cv_sun_ld_ver=`/usr/ccs/bin/ld -V 2>&1`
22931 if echo "$gcc_cv_sun_ld_ver" | grep 'Solaris Link Editors' > /dev/null; then
22932 gcc_cv_sun_ld_vers=`echo $gcc_cv_sun_ld_ver | sed -n \
22933 -e 's,^.*: 5\.[0-9][0-9]*-\([0-9]\.[0-9][0-9]*\).*$,\1,p'`
22934 gcc_cv_sun_ld_vers_major=`expr "$gcc_cv_sun_ld_vers" : '\([0-9]*\)'`
22935 gcc_cv_sun_ld_vers_minor=`expr "$gcc_cv_sun_ld_vers" : '[0-9]*\.\([0-9]*\)'`
22936 fi
22937 ;;
22938 esac
22939 fi
22940 22997
22941 # Check whether --enable-initfini-array was given. 22998 # Check whether --enable-initfini-array was given.
22942 if test "${enable_initfini_array+set}" = set; then : 22999 if test "${enable_initfini_array+set}" = set; then :
22943 enableval=$enable_initfini_array; 23000 enableval=$enable_initfini_array;
22944 else 23001 else
23186 23243
23187 $as_echo "#define HAVE_AS_LEB128 0" >>confdefs.h 23244 $as_echo "#define HAVE_AS_LEB128 0" >>confdefs.h
23188 23245
23189 fi 23246 fi
23190 23247
23248 # Determine if an .eh_frame section is read-only.
23249 gcc_fn_eh_frame_ro () {
23250 $gcc_cv_as $1 -o conftest.o conftest.s > /dev/null 2>&1 && \
23251 $gcc_cv_objdump -h conftest.o 2>/dev/null | \
23252 sed -e '/.eh_frame/!d' -e N | grep READONLY > /dev/null
23253 }
23254
23191 # Check if we have assembler support for unwind directives. 23255 # Check if we have assembler support for unwind directives.
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for cfi directives" >&5 23256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for cfi directives" >&5
23193 $as_echo_n "checking assembler for cfi directives... " >&6; } 23257 $as_echo_n "checking assembler for cfi directives... " >&6; }
23194 if test "${gcc_cv_as_cfi_directive+set}" = set; then : 23258 if test "${gcc_cv_as_cfi_directive+set}" = set; then :
23195 $as_echo_n "(cached) " >&6 23259 $as_echo_n "(cached) " >&6
23213 case "$target" in 23277 case "$target" in
23214 *-*-solaris*) 23278 *-*-solaris*)
23215 # If the linker used on Solaris (like Sun ld) isn't capable of merging 23279 # If the linker used on Solaris (like Sun ld) isn't capable of merging
23216 # read-only and read-write sections, we need to make sure that the 23280 # read-only and read-write sections, we need to make sure that the
23217 # assembler used emits read-write .eh_frame sections. 23281 # assembler used emits read-write .eh_frame sections.
23218 if test "x$gcc_cv_ld_ro_rw_mix" != xread-write; then 23282 if test "x$gcc_cv_ld_ro_rw_mix" = xread-write; then
23219 if test "x$gcc_cv_objdump" != x; then 23283 gcc_cv_as_cfi_directive=yes
23220 if $gcc_cv_objdump -h conftest.o 2>/dev/null | \ 23284 elif test "x$gcc_cv_objdump" = x; then
23221 sed -e /.eh_frame/!d -e N | grep READONLY > /dev/null; then 23285 # No objdump, err on the side of caution.
23222 gcc_cv_as_cfi_directive=no 23286 gcc_cv_as_cfi_directive=no
23223 else 23287 else
23224 case "$target" in 23288 if test x$gas = xyes; then
23225 i?86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*) 23289 as_32_opt="--32"
23226 # On Solaris/x86, make sure that GCC and assembler agree on using 23290 as_64_opt="--64"
23227 # read-only .eh_frame sections for 64-bit.
23228 if test x$gas = xyes; then
23229 as_ix86_64_opt="--64"
23230 else
23231 as_ix86_64_opt="-xarch=amd64"
23232 fi
23233 if $gcc_cv_as $as_ix86_64_opt -o conftest.o conftest.s > /dev/null 2>&1 && \
23234 $gcc_cv_objdump -h conftest.o 2>/dev/null | \
23235 sed -e /.eh_frame/!d -e N | \
23236 grep READONLY > /dev/null; then
23237 gcc_cv_as_cfi_directive=yes
23238 else
23239 gcc_cv_as_cfi_directive=no
23240 fi
23241 ;;
23242 *)
23243 gcc_cv_as_cfi_directive=yes
23244 ;;
23245 esac
23246 fi
23247 else 23291 else
23248 # no objdump, err on the side of caution 23292 as_32_opt="-m32"
23249 gcc_cv_as_cfi_directive=no 23293 as_64_opt="-m64"
23250 fi 23294 fi
23251 else 23295 case "$target" in
23252 gcc_cv_as_cfi_directive=yes 23296 sparc*-*-solaris2.*)
23297 # On Solaris/SPARC, .eh_frame sections should always be read-write.
23298 if gcc_fn_eh_frame_ro $as_32_opt \
23299 || gcc_fn_eh_frame_ro $as_64_opt; then
23300 gcc_cv_as_cfi_directive=no
23301 else
23302 gcc_cv_as_cfi_directive=yes
23303 fi
23304 ;;
23305 i?86-*-solaris2.* | x86_64-*-solaris2.*)
23306 # On Solaris/x86, make sure that GCC and assembler agree on using
23307 # read-only .eh_frame sections for 64-bit.
23308 if gcc_fn_eh_frame_ro $as_32_opt; then
23309 gcc_cv_as_cfi_directive=no
23310 elif gcc_fn_eh_frame_ro $as_64_opt; then
23311 gcc_cv_as_cfi_directive=yes
23312 else
23313 gcc_cv_as_cfi_directive=no
23314 fi
23315 ;;
23316 esac
23253 fi 23317 fi
23254 ;; 23318 ;;
23255 *-*-*) 23319 *-*-*)
23256 gcc_cv_as_cfi_directive=yes 23320 gcc_cv_as_cfi_directive=yes
23257 ;; 23321 ;;
23510 23574
23511 $as_echo "#define USE_AS_TRADITIONAL_FORMAT 1" >>confdefs.h 23575 $as_echo "#define USE_AS_TRADITIONAL_FORMAT 1" >>confdefs.h
23512 23576
23513 fi 23577 fi
23514 23578
23579 # Test if the assembler supports the section flag 'e' or #exclude for
23580 # specifying an excluded section.
23581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for section exclude flag" >&5
23582 $as_echo_n "checking assembler for section exclude flag... " >&6; }
23583 if test "${gcc_cv_as_section_exclude_e+set}" = set; then :
23584 $as_echo_n "(cached) " >&6
23585 else
23586 gcc_cv_as_section_exclude_e=no
23587 if test $in_tree_gas = yes; then
23588 if test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 22 \) \* 1000 + 51`
23589 then gcc_cv_as_section_exclude_e=yes
23590 fi
23591 elif test x$gcc_cv_as != x; then
23592 $as_echo '.section foo1,"e"
23593 .byte 0,0,0,0' > conftest.s
23594 if { ac_try='$gcc_cv_as $gcc_cv_as_flags --fatal-warnings -o conftest.o conftest.s >&5'
23595 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
23596 (eval $ac_try) 2>&5
23597 ac_status=$?
23598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23599 test $ac_status = 0; }; }
23600 then
23601 gcc_cv_as_section_exclude_e=yes
23602 else
23603 echo "configure: failed program was" >&5
23604 cat conftest.s >&5
23605 fi
23606 rm -f conftest.o conftest.s
23607 fi
23608 fi
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_section_exclude_e" >&5
23610 $as_echo "$gcc_cv_as_section_exclude_e" >&6; }
23611
23612
23613 if test $gcc_cv_as_section_exclude_e = no; then
23614 case "${target}" in
23615 # Solaris as uses #exclude instead.
23616 *-*-solaris2*)
23617 case "${target}" in
23618 sparc*-*-solaris2*)
23619 conftest_s='.section "foo1", #exclude'
23620 ;;
23621 i?86-*-solaris2* | x86_64-*-solaris2*)
23622 conftest_s='.section foo1, #exclude'
23623 ;;
23624 esac
23625 ;;
23626 esac
23627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for section exclude flag" >&5
23628 $as_echo_n "checking assembler for section exclude flag... " >&6; }
23629 if test "${gcc_cv_as_section_exclude_hash+set}" = set; then :
23630 $as_echo_n "(cached) " >&6
23631 else
23632 gcc_cv_as_section_exclude_hash=no
23633 if test x$gcc_cv_as != x; then
23634 $as_echo "$conftest_s
23635 .byte 0,0,0,0" > conftest.s
23636 if { ac_try='$gcc_cv_as $gcc_cv_as_flags -o conftest.o conftest.s >&5'
23637 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
23638 (eval $ac_try) 2>&5
23639 ac_status=$?
23640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23641 test $ac_status = 0; }; }
23642 then
23643 gcc_cv_as_section_exclude_hash=yes
23644 else
23645 echo "configure: failed program was" >&5
23646 cat conftest.s >&5
23647 fi
23648 rm -f conftest.o conftest.s
23649 fi
23650 fi
23651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_section_exclude_hash" >&5
23652 $as_echo "$gcc_cv_as_section_exclude_hash" >&6; }
23653
23654
23655 fi
23656
23657 cat >>confdefs.h <<_ACEOF
23658 #define HAVE_GAS_SECTION_EXCLUDE `if test $gcc_cv_as_section_exclude_e = yes || test $gcc_cv_as_section_exclude_hash = yes; then echo 1; else echo 0; fi`
23659 _ACEOF
23660
23661
23515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for section merging support" >&5 23662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for section merging support" >&5
23516 $as_echo_n "checking assembler for section merging support... " >&6; } 23663 $as_echo_n "checking assembler for section merging support... " >&6; }
23517 if test "${gcc_cv_as_shf_merge+set}" = set; then : 23664 if test "${gcc_cv_as_shf_merge+set}" = set; then :
23518 $as_echo_n "(cached) " >&6 23665 $as_echo_n "(cached) " >&6
23519 else 23666 else
23576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_shf_merge" >&5 23723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_shf_merge" >&5
23577 $as_echo "$gcc_cv_as_shf_merge" >&6; } 23724 $as_echo "$gcc_cv_as_shf_merge" >&6; }
23578 23725
23579 23726
23580 fi 23727 fi
23728 case "$target" in
23729 i?86-*-solaris2.10* | x86_64-*-solaris2.10*)
23730 # SHF_MERGE support in Solaris 10/x86 ld is broken.
23731 if test x"$gnu_ld" = xno; then
23732 gcc_cv_as_shf_merge=no
23733 fi
23734 ;;
23735 esac
23581 23736
23582 cat >>confdefs.h <<_ACEOF 23737 cat >>confdefs.h <<_ACEOF
23583 #define HAVE_GAS_SHF_MERGE `if test $gcc_cv_as_shf_merge = yes; then echo 1; else echo 0; fi` 23738 #define HAVE_GAS_SHF_MERGE `if test $gcc_cv_as_shf_merge = yes; then echo 1; else echo 0; fi`
23739 _ACEOF
23740
23741
23742 gcc_cv_ld_aligned_shf_merge=yes
23743 case "$target" in
23744 # While Solaris 10/SPARC ld isn't affected, disable to avoid problems
23745 # relinking on Solaris 11 < 11.4.
23746 sparc*-*-solaris2.10*)
23747 if test x"$gnu_ld" = xno; then
23748 gcc_cv_ld_aligned_shf_merge=no
23749 fi
23750 ;;
23751 # SHF_MERGE support is broken in Solaris ld up to Solaris 11.3/SPARC for
23752 # alignment > 1.
23753 sparc*-*-solaris2.11*)
23754 if test x"$gnu_ld" = xno \
23755 && test "$ld_vers_major" -lt 2 && test "$ld_vers_minor" -lt 3159; then
23756 gcc_cv_ld_aligned_shf_merge=no
23757 fi
23758 ;;
23759 esac
23760
23761 cat >>confdefs.h <<_ACEOF
23762 #define HAVE_LD_ALIGNED_SHF_MERGE `if test $gcc_cv_ld_aligned_shf_merge = yes; then echo 1; else echo 0; fi`
23584 _ACEOF 23763 _ACEOF
23585 23764
23586 23765
23587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for stabs directive" >&5 23766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for stabs directive" >&5
23588 $as_echo_n "checking assembler for stabs directive... " >&6; } 23767 $as_echo_n "checking assembler for stabs directive... " >&6; }
23801 cat >>confdefs.h <<_ACEOF 23980 cat >>confdefs.h <<_ACEOF
23802 #define HAVE_COMDAT_GROUP `if test $gcc_cv_as_comdat_group = yes \ 23981 #define HAVE_COMDAT_GROUP `if test $gcc_cv_as_comdat_group = yes \
23803 || test $gcc_cv_as_comdat_group_percent = yes \ 23982 || test $gcc_cv_as_comdat_group_percent = yes \
23804 || test $gcc_cv_as_comdat_group_group = yes; then echo 1; else echo 0; fi` 23983 || test $gcc_cv_as_comdat_group_group = yes; then echo 1; else echo 0; fi`
23805 _ACEOF 23984 _ACEOF
23985
23986
23987 # Restrict this test to Solaris/x86: other targets define this statically.
23988 case "${target}" in
23989 i?86-*-solaris2* | x86_64-*-solaris2*)
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking support for hidden thunks in linkonce sections" >&5
23991 $as_echo_n "checking support for hidden thunks in linkonce sections... " >&6; }
23992 if test $in_tree_ld = yes || echo "$ld_ver" | grep GNU > /dev/null; then
23993 hidden_linkonce=yes
23994 else
23995 case "${target}" in
23996 # Full support for hidden thunks in linkonce sections only appeared in
23997 # Solaris 11/OpenSolaris.
23998 *-*-solaris2.1[1-9]*)
23999 hidden_linkonce=yes
24000 ;;
24001 *)
24002 hidden_linkonce=no
24003 ;;
24004 esac
24005 fi
24006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hidden_linkonce" >&5
24007 $as_echo "$hidden_linkonce" >&6; }
24008
24009 cat >>confdefs.h <<_ACEOF
24010 #define USE_HIDDEN_LINKONCE `if test $hidden_linkonce = yes; then echo 1; else echo 0; fi`
24011 _ACEOF
24012
24013 ;;
24014 esac
24015
24016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for line table is_stmt support" >&5
24017 $as_echo_n "checking assembler for line table is_stmt support... " >&6; }
24018 if test "${gcc_cv_as_is_stmt+set}" = set; then :
24019 $as_echo_n "(cached) " >&6
24020 else
24021 gcc_cv_as_is_stmt=no
24022 if test $in_tree_gas = yes; then
24023 if test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 16 \) \* 1000 + 92`
24024 then gcc_cv_as_is_stmt=yes
24025 fi
24026 elif test x$gcc_cv_as != x; then
24027 $as_echo ' .text
24028 .file 1 "conf.c"
24029 .loc 1 1 0 is_stmt 1' > conftest.s
24030 if { ac_try='$gcc_cv_as $gcc_cv_as_flags -o conftest.o conftest.s >&5'
24031 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
24032 (eval $ac_try) 2>&5
24033 ac_status=$?
24034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24035 test $ac_status = 0; }; }
24036 then
24037 gcc_cv_as_is_stmt=yes
24038 else
24039 echo "configure: failed program was" >&5
24040 cat conftest.s >&5
24041 fi
24042 rm -f conftest.o conftest.s
24043 fi
24044 fi
24045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_is_stmt" >&5
24046 $as_echo "$gcc_cv_as_is_stmt" >&6; }
24047 if test $gcc_cv_as_is_stmt = yes; then
24048
24049 $as_echo "#define HAVE_GAS_LOC_STMT 1" >>confdefs.h
24050
24051 fi
23806 24052
23807 24053
23808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for line table discriminator support" >&5 24054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for line table discriminator support" >&5
23809 $as_echo_n "checking assembler for line table discriminator support... " >&6; } 24055 $as_echo_n "checking assembler for line table discriminator support... " >&6; }
23810 if test "${gcc_cv_as_discriminator+set}" = set; then : 24056 if test "${gcc_cv_as_discriminator+set}" = set; then :
24414 24660
24415 fi 24661 fi
24416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_ld_static_dynamic" >&5 24662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_ld_static_dynamic" >&5
24417 $as_echo "$gcc_cv_ld_static_dynamic" >&6; } 24663 $as_echo "$gcc_cv_ld_static_dynamic" >&6; }
24418 24664
24665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --version-script option" >&5
24666 $as_echo_n "checking linker --version-script option... " >&6; }
24667 gcc_cv_ld_version_script=no
24668 ld_version_script_option=''
24669 if test $in_tree_ld = yes || test x"$gnu_ld" = xyes; then
24670 gcc_cv_ld_version_script=yes
24671 ld_version_script_option='--version-script'
24672 elif test x$gcc_cv_ld != x; then
24673 case "$target" in
24674 # Solaris 2 ld always supports -M. It also supports a subset of
24675 # --version-script since Solaris 11.4, but requires
24676 # -z gnu-version-script-compat to activate.
24677 *-*-solaris2*)
24678 gcc_cv_ld_version_script=yes
24679 ld_version_script_option='-M'
24680 ;;
24681 esac
24682 fi
24683 # Don't AC_DEFINE result, only used in jit/Make-lang.in so far.
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_ld_version_script" >&5
24685 $as_echo "$gcc_cv_ld_version_script" >&6; }
24686
24687
24688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker soname option" >&5
24689 $as_echo_n "checking linker soname option... " >&6; }
24690 gcc_cv_ld_soname=no
24691 if test $in_tree_ld = yes || test x"$gnu_ld" = xyes; then
24692 gcc_cv_ld_soname=yes
24693 ld_soname_option='-soname'
24694 elif test x$gcc_cv_ld != x; then
24695 case "$target" in
24696 *-*-darwin*)
24697 gcc_cv_ld_soname=yes
24698 ld_soname_option='-install_name'
24699 ;;
24700 # Solaris 2 ld always supports -h. It also supports --soname for GNU
24701 # ld compatiblity since some Solaris 10 update.
24702 *-*-solaris2*)
24703 gcc_cv_ld_soname=yes
24704 ld_soname_option='-h'
24705 ;;
24706 esac
24707 fi
24708 # Don't AC_DEFINE result, only used in jit/Make-lang.in so far.
24709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_ld_soname" >&5
24710 $as_echo "$gcc_cv_ld_soname" >&6; }
24711
24712
24419 if test x"$demangler_in_ld" = xyes; then 24713 if test x"$demangler_in_ld" = xyes; then
24420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --demangle support" >&5 24714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --demangle support" >&5
24421 $as_echo_n "checking linker --demangle support... " >&6; } 24715 $as_echo_n "checking linker --demangle support... " >&6; }
24422 gcc_cv_ld_demangle=no 24716 gcc_cv_ld_demangle=no
24423 if test $in_tree_ld = yes; then 24717 if test $in_tree_ld = yes; then
25582 $as_echo "#define HAVE_AS_XBRACE_COMMENT_OPTION 1" >>confdefs.h 25876 $as_echo "#define HAVE_AS_XBRACE_COMMENT_OPTION 1" >>confdefs.h
25583 25877
25584 fi 25878 fi
25585 25879
25586 25880
25587 # Test if the assembler supports the section flag 'e' for specifying
25588 # an excluded section.
25589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for .section with e" >&5
25590 $as_echo_n "checking assembler for .section with e... " >&6; }
25591 if test "${gcc_cv_as_section_has_e+set}" = set; then :
25592 $as_echo_n "(cached) " >&6
25593 else
25594 gcc_cv_as_section_has_e=no
25595 if test $in_tree_gas = yes; then
25596 if test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 22 \) \* 1000 + 51`
25597 then gcc_cv_as_section_has_e=yes
25598 fi
25599 elif test x$gcc_cv_as != x; then
25600 $as_echo '.section foo1,"e"
25601 .byte 0,0,0,0' > conftest.s
25602 if { ac_try='$gcc_cv_as $gcc_cv_as_flags --fatal-warnings -o conftest.o conftest.s >&5'
25603 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
25604 (eval $ac_try) 2>&5
25605 ac_status=$?
25606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25607 test $ac_status = 0; }; }
25608 then
25609 gcc_cv_as_section_has_e=yes
25610 else
25611 echo "configure: failed program was" >&5
25612 cat conftest.s >&5
25613 fi
25614 rm -f conftest.o conftest.s
25615 fi
25616 fi
25617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_section_has_e" >&5
25618 $as_echo "$gcc_cv_as_section_has_e" >&6; }
25619
25620
25621
25622 cat >>confdefs.h <<_ACEOF
25623 #define HAVE_GAS_SECTION_EXCLUDE `if test $gcc_cv_as_section_has_e = yes; then echo 1; else echo 0; fi`
25624 _ACEOF
25625
25626
25627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for filds and fists mnemonics" >&5 25881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for filds and fists mnemonics" >&5
25628 $as_echo_n "checking assembler for filds and fists mnemonics... " >&6; } 25882 $as_echo_n "checking assembler for filds and fists mnemonics... " >&6; }
25629 if test "${gcc_cv_as_ix86_filds+set}" = set; then : 25883 if test "${gcc_cv_as_ix86_filds+set}" = set; then :
25630 $as_echo_n "(cached) " >&6 25884 $as_echo_n "(cached) " >&6
25631 else 25885 else
26444 26698
26445 fi 26699 fi
26446 26700
26447 26701
26448 case $target in 26702 case $target in
26449 *-*-aix*) conftest_s=' .machine "pwr5"
26450 .csect .text[PR]
26451 popcntb 3,3';;
26452 *) conftest_s=' .machine power5
26453 .text
26454 popcntb 3,3';;
26455 esac
26456
26457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for popcntb support" >&5
26458 $as_echo_n "checking assembler for popcntb support... " >&6; }
26459 if test "${gcc_cv_as_powerpc_popcntb+set}" = set; then :
26460 $as_echo_n "(cached) " >&6
26461 else
26462 gcc_cv_as_powerpc_popcntb=no
26463 if test $in_tree_gas = yes; then
26464 if test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 17 \) \* 1000 + 0`
26465 then gcc_cv_as_powerpc_popcntb=yes
26466 fi
26467 elif test x$gcc_cv_as != x; then
26468 $as_echo "$conftest_s" > conftest.s
26469 if { ac_try='$gcc_cv_as $gcc_cv_as_flags -o conftest.o conftest.s >&5'
26470 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
26471 (eval $ac_try) 2>&5
26472 ac_status=$?
26473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26474 test $ac_status = 0; }; }
26475 then
26476 gcc_cv_as_powerpc_popcntb=yes
26477 else
26478 echo "configure: failed program was" >&5
26479 cat conftest.s >&5
26480 fi
26481 rm -f conftest.o conftest.s
26482 fi
26483 fi
26484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_powerpc_popcntb" >&5
26485 $as_echo "$gcc_cv_as_powerpc_popcntb" >&6; }
26486 if test $gcc_cv_as_powerpc_popcntb = yes; then
26487
26488 $as_echo "#define HAVE_AS_POPCNTB 1" >>confdefs.h
26489
26490 fi
26491
26492
26493 case $target in
26494 *-*-aix*) conftest_s=' .machine "pwr5x"
26495 .csect .text[PR]
26496 frin 1,1';;
26497 *) conftest_s=' .machine power5
26498 .text
26499 frin 1,1';;
26500 esac
26501
26502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for fp round support" >&5
26503 $as_echo_n "checking assembler for fp round support... " >&6; }
26504 if test "${gcc_cv_as_powerpc_fprnd+set}" = set; then :
26505 $as_echo_n "(cached) " >&6
26506 else
26507 gcc_cv_as_powerpc_fprnd=no
26508 if test $in_tree_gas = yes; then
26509 if test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 17 \) \* 1000 + 0`
26510 then gcc_cv_as_powerpc_fprnd=yes
26511 fi
26512 elif test x$gcc_cv_as != x; then
26513 $as_echo "$conftest_s" > conftest.s
26514 if { ac_try='$gcc_cv_as $gcc_cv_as_flags -o conftest.o conftest.s >&5'
26515 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
26516 (eval $ac_try) 2>&5
26517 ac_status=$?
26518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26519 test $ac_status = 0; }; }
26520 then
26521 gcc_cv_as_powerpc_fprnd=yes
26522 else
26523 echo "configure: failed program was" >&5
26524 cat conftest.s >&5
26525 fi
26526 rm -f conftest.o conftest.s
26527 fi
26528 fi
26529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_powerpc_fprnd" >&5
26530 $as_echo "$gcc_cv_as_powerpc_fprnd" >&6; }
26531 if test $gcc_cv_as_powerpc_fprnd = yes; then
26532
26533 $as_echo "#define HAVE_AS_FPRND 1" >>confdefs.h
26534
26535 fi
26536
26537
26538 case $target in
26539 *-*-aix*) conftest_s=' .machine "pwr6"
26540 .csect .text[PR]
26541 mffgpr 1,3';;
26542 *) conftest_s=' .machine power6
26543 .text
26544 mffgpr 1,3';;
26545 esac
26546
26547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for move fp gpr support" >&5
26548 $as_echo_n "checking assembler for move fp gpr support... " >&6; }
26549 if test "${gcc_cv_as_powerpc_mfpgpr+set}" = set; then :
26550 $as_echo_n "(cached) " >&6
26551 else
26552 gcc_cv_as_powerpc_mfpgpr=no
26553 if test $in_tree_gas = yes; then
26554 if test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 19 \) \* 1000 + 2`
26555 then gcc_cv_as_powerpc_mfpgpr=yes
26556 fi
26557 elif test x$gcc_cv_as != x; then
26558 $as_echo "$conftest_s" > conftest.s
26559 if { ac_try='$gcc_cv_as $gcc_cv_as_flags -o conftest.o conftest.s >&5'
26560 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
26561 (eval $ac_try) 2>&5
26562 ac_status=$?
26563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26564 test $ac_status = 0; }; }
26565 then
26566 gcc_cv_as_powerpc_mfpgpr=yes
26567 else
26568 echo "configure: failed program was" >&5
26569 cat conftest.s >&5
26570 fi
26571 rm -f conftest.o conftest.s
26572 fi
26573 fi
26574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_powerpc_mfpgpr" >&5
26575 $as_echo "$gcc_cv_as_powerpc_mfpgpr" >&6; }
26576 if test $gcc_cv_as_powerpc_mfpgpr = yes; then
26577
26578 $as_echo "#define HAVE_AS_MFPGPR 1" >>confdefs.h
26579
26580 fi
26581
26582
26583 case $target in
26584 *-*-aix*) conftest_s=' .csect .text[PR] 26703 *-*-aix*) conftest_s=' .csect .text[PR]
26585 LCF..0: 26704 LCF..0:
26586 addis 11,30,_GLOBAL_OFFSET_TABLE_-LCF..0@ha';; 26705 addis 11,30,_GLOBAL_OFFSET_TABLE_-LCF..0@ha';;
26587 *-*-darwin*) 26706 *-*-darwin*)
26588 conftest_s=' .text 26707 conftest_s=' .text
26628 26747
26629 fi 26748 fi
26630 26749
26631 26750
26632 case $target in 26751 case $target in
26633 *-*-aix*) conftest_s=' .machine "pwr6"
26634 .csect .text[PR]
26635 cmpb 3,4,5';;
26636 *) conftest_s=' .machine power6
26637 .text
26638 cmpb 3,4,5';;
26639 esac
26640
26641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for compare bytes support" >&5
26642 $as_echo_n "checking assembler for compare bytes support... " >&6; }
26643 if test "${gcc_cv_as_powerpc_cmpb+set}" = set; then :
26644 $as_echo_n "(cached) " >&6
26645 else
26646 gcc_cv_as_powerpc_cmpb=no
26647 if test $in_tree_gas = yes; then
26648 if test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 19 \) \* 1000 + 2`
26649 then gcc_cv_as_powerpc_cmpb=yes
26650 fi
26651 elif test x$gcc_cv_as != x; then
26652 $as_echo "$conftest_s" > conftest.s
26653 if { ac_try='$gcc_cv_as $gcc_cv_as_flags -a32 -o conftest.o conftest.s >&5'
26654 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
26655 (eval $ac_try) 2>&5
26656 ac_status=$?
26657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26658 test $ac_status = 0; }; }
26659 then
26660 gcc_cv_as_powerpc_cmpb=yes
26661 else
26662 echo "configure: failed program was" >&5
26663 cat conftest.s >&5
26664 fi
26665 rm -f conftest.o conftest.s
26666 fi
26667 fi
26668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_powerpc_cmpb" >&5
26669 $as_echo "$gcc_cv_as_powerpc_cmpb" >&6; }
26670 if test $gcc_cv_as_powerpc_cmpb = yes; then
26671
26672 $as_echo "#define HAVE_AS_CMPB 1" >>confdefs.h
26673
26674 fi
26675
26676
26677 case $target in
26678 *-*-aix*) conftest_s=' .machine "pwr6"
26679 .csect .text[PR]
26680 dadd 1,2,3';;
26681 *) conftest_s=' .machine power6
26682 .text
26683 dadd 1,2,3';;
26684 esac
26685
26686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for decimal float support" >&5
26687 $as_echo_n "checking assembler for decimal float support... " >&6; }
26688 if test "${gcc_cv_as_powerpc_dfp+set}" = set; then :
26689 $as_echo_n "(cached) " >&6
26690 else
26691 gcc_cv_as_powerpc_dfp=no
26692 if test $in_tree_gas = yes; then
26693 if test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 19 \) \* 1000 + 2`
26694 then gcc_cv_as_powerpc_dfp=yes
26695 fi
26696 elif test x$gcc_cv_as != x; then
26697 $as_echo "$conftest_s" > conftest.s
26698 if { ac_try='$gcc_cv_as $gcc_cv_as_flags -a32 -o conftest.o conftest.s >&5'
26699 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
26700 (eval $ac_try) 2>&5
26701 ac_status=$?
26702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26703 test $ac_status = 0; }; }
26704 then
26705 gcc_cv_as_powerpc_dfp=yes
26706 else
26707 echo "configure: failed program was" >&5
26708 cat conftest.s >&5
26709 fi
26710 rm -f conftest.o conftest.s
26711 fi
26712 fi
26713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_powerpc_dfp" >&5
26714 $as_echo "$gcc_cv_as_powerpc_dfp" >&6; }
26715 if test $gcc_cv_as_powerpc_dfp = yes; then
26716
26717 $as_echo "#define HAVE_AS_DFP 1" >>confdefs.h
26718
26719 fi
26720
26721
26722 case $target in
26723 *-*-aix*) conftest_s=' .machine "pwr7" 26752 *-*-aix*) conftest_s=' .machine "pwr7"
26724 .csect .text[PR] 26753 .csect .text[PR]
26725 lxvd2x 1,2,3';; 26754 lxvd2x 1,2,3';;
26726 *) conftest_s=' .machine power7 26755 *) conftest_s=' .machine power7
26727 .text 26756 .text
26758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_powerpc_vsx" >&5 26787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_powerpc_vsx" >&5
26759 $as_echo "$gcc_cv_as_powerpc_vsx" >&6; } 26788 $as_echo "$gcc_cv_as_powerpc_vsx" >&6; }
26760 if test $gcc_cv_as_powerpc_vsx = yes; then 26789 if test $gcc_cv_as_powerpc_vsx = yes; then
26761 26790
26762 $as_echo "#define HAVE_AS_VSX 1" >>confdefs.h 26791 $as_echo "#define HAVE_AS_VSX 1" >>confdefs.h
26763
26764 fi
26765
26766
26767 case $target in
26768 *-*-aix*) conftest_s=' .machine "pwr7"
26769 .csect .text[PR]
26770 popcntd 3,3';;
26771 *) conftest_s=' .machine power7
26772 .text
26773 popcntd 3,3';;
26774 esac
26775
26776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for popcntd support" >&5
26777 $as_echo_n "checking assembler for popcntd support... " >&6; }
26778 if test "${gcc_cv_as_powerpc_popcntd+set}" = set; then :
26779 $as_echo_n "(cached) " >&6
26780 else
26781 gcc_cv_as_powerpc_popcntd=no
26782 if test $in_tree_gas = yes; then
26783 if test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 19 \) \* 1000 + 2`
26784 then gcc_cv_as_powerpc_popcntd=yes
26785 fi
26786 elif test x$gcc_cv_as != x; then
26787 $as_echo "$conftest_s" > conftest.s
26788 if { ac_try='$gcc_cv_as $gcc_cv_as_flags -a32 -o conftest.o conftest.s >&5'
26789 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
26790 (eval $ac_try) 2>&5
26791 ac_status=$?
26792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26793 test $ac_status = 0; }; }
26794 then
26795 gcc_cv_as_powerpc_popcntd=yes
26796 else
26797 echo "configure: failed program was" >&5
26798 cat conftest.s >&5
26799 fi
26800 rm -f conftest.o conftest.s
26801 fi
26802 fi
26803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_powerpc_popcntd" >&5
26804 $as_echo "$gcc_cv_as_powerpc_popcntd" >&6; }
26805 if test $gcc_cv_as_powerpc_popcntd = yes; then
26806
26807 $as_echo "#define HAVE_AS_POPCNTD 1" >>confdefs.h
26808
26809 fi
26810
26811
26812 case $target in
26813 *-*-aix*) conftest_s=' .machine "pwr8"
26814 .csect .text[PR]';;
26815 *) conftest_s=' .machine power8
26816 .text';;
26817 esac
26818
26819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for power8 support" >&5
26820 $as_echo_n "checking assembler for power8 support... " >&6; }
26821 if test "${gcc_cv_as_powerpc_power8+set}" = set; then :
26822 $as_echo_n "(cached) " >&6
26823 else
26824 gcc_cv_as_powerpc_power8=no
26825 if test $in_tree_gas = yes; then
26826 if test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 19 \) \* 1000 + 2`
26827 then gcc_cv_as_powerpc_power8=yes
26828 fi
26829 elif test x$gcc_cv_as != x; then
26830 $as_echo "$conftest_s" > conftest.s
26831 if { ac_try='$gcc_cv_as $gcc_cv_as_flags -a32 -o conftest.o conftest.s >&5'
26832 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
26833 (eval $ac_try) 2>&5
26834 ac_status=$?
26835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26836 test $ac_status = 0; }; }
26837 then
26838 gcc_cv_as_powerpc_power8=yes
26839 else
26840 echo "configure: failed program was" >&5
26841 cat conftest.s >&5
26842 fi
26843 rm -f conftest.o conftest.s
26844 fi
26845 fi
26846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_powerpc_power8" >&5
26847 $as_echo "$gcc_cv_as_powerpc_power8" >&6; }
26848 if test $gcc_cv_as_powerpc_power8 = yes; then
26849
26850 $as_echo "#define HAVE_AS_POWER8 1" >>confdefs.h
26851
26852 fi
26853
26854
26855 case $target in
26856 *-*-aix*) conftest_s=' .machine "pwr9"
26857 .csect .text[PR]';;
26858 *) conftest_s=' .machine power9
26859 .text';;
26860 esac
26861
26862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for power9 support" >&5
26863 $as_echo_n "checking assembler for power9 support... " >&6; }
26864 if test "${gcc_cv_as_powerpc_power9+set}" = set; then :
26865 $as_echo_n "(cached) " >&6
26866 else
26867 gcc_cv_as_powerpc_power9=no
26868 if test $in_tree_gas = yes; then
26869 if test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 19 \) \* 1000 + 2`
26870 then gcc_cv_as_powerpc_power9=yes
26871 fi
26872 elif test x$gcc_cv_as != x; then
26873 $as_echo "$conftest_s" > conftest.s
26874 if { ac_try='$gcc_cv_as $gcc_cv_as_flags -a32 -o conftest.o conftest.s >&5'
26875 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
26876 (eval $ac_try) 2>&5
26877 ac_status=$?
26878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26879 test $ac_status = 0; }; }
26880 then
26881 gcc_cv_as_powerpc_power9=yes
26882 else
26883 echo "configure: failed program was" >&5
26884 cat conftest.s >&5
26885 fi
26886 rm -f conftest.o conftest.s
26887 fi
26888 fi
26889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_powerpc_power9" >&5
26890 $as_echo "$gcc_cv_as_powerpc_power9" >&6; }
26891 if test $gcc_cv_as_powerpc_power9 = yes; then
26892
26893 $as_echo "#define HAVE_AS_POWER9 1" >>confdefs.h
26894
26895 fi
26896
26897
26898 case $target in
26899 *-*-aix*) conftest_s=' .csect .text[PR]
26900 lwsync';;
26901 *) conftest_s=' .text
26902 lwsync';;
26903 esac
26904
26905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for lwsync support" >&5
26906 $as_echo_n "checking assembler for lwsync support... " >&6; }
26907 if test "${gcc_cv_as_powerpc_lwsync+set}" = set; then :
26908 $as_echo_n "(cached) " >&6
26909 else
26910 gcc_cv_as_powerpc_lwsync=no
26911 if test $in_tree_gas = yes; then
26912 if test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 19 \) \* 1000 + 2`
26913 then gcc_cv_as_powerpc_lwsync=yes
26914 fi
26915 elif test x$gcc_cv_as != x; then
26916 $as_echo "$conftest_s" > conftest.s
26917 if { ac_try='$gcc_cv_as $gcc_cv_as_flags -a32 -o conftest.o conftest.s >&5'
26918 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
26919 (eval $ac_try) 2>&5
26920 ac_status=$?
26921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26922 test $ac_status = 0; }; }
26923 then
26924 gcc_cv_as_powerpc_lwsync=yes
26925 else
26926 echo "configure: failed program was" >&5
26927 cat conftest.s >&5
26928 fi
26929 rm -f conftest.o conftest.s
26930 fi
26931 fi
26932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_powerpc_lwsync" >&5
26933 $as_echo "$gcc_cv_as_powerpc_lwsync" >&6; }
26934 if test $gcc_cv_as_powerpc_lwsync = yes; then
26935
26936 $as_echo "#define HAVE_AS_LWSYNC 1" >>confdefs.h
26937
26938 fi
26939
26940
26941 case $target in
26942 *-*-aix*) conftest_s=' .machine "476"
26943 .csect .text[PR]
26944 dci 0';;
26945 *) conftest_s=' .machine "476"
26946 .text
26947 dci 0';;
26948 esac
26949
26950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for data cache invalidate support" >&5
26951 $as_echo_n "checking assembler for data cache invalidate support... " >&6; }
26952 if test "${gcc_cv_as_powerpc_dci+set}" = set; then :
26953 $as_echo_n "(cached) " >&6
26954 else
26955 gcc_cv_as_powerpc_dci=no
26956 if test $in_tree_gas = yes; then
26957 if test $gcc_cv_gas_vers -ge `expr \( \( 9 \* 1000 \) + 99 \) \* 1000 + 0`
26958 then gcc_cv_as_powerpc_dci=yes
26959 fi
26960 elif test x$gcc_cv_as != x; then
26961 $as_echo "$conftest_s" > conftest.s
26962 if { ac_try='$gcc_cv_as $gcc_cv_as_flags -a32 -o conftest.o conftest.s >&5'
26963 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
26964 (eval $ac_try) 2>&5
26965 ac_status=$?
26966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26967 test $ac_status = 0; }; }
26968 then
26969 gcc_cv_as_powerpc_dci=yes
26970 else
26971 echo "configure: failed program was" >&5
26972 cat conftest.s >&5
26973 fi
26974 rm -f conftest.o conftest.s
26975 fi
26976 fi
26977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_powerpc_dci" >&5
26978 $as_echo "$gcc_cv_as_powerpc_dci" >&6; }
26979 if test $gcc_cv_as_powerpc_dci = yes; then
26980
26981 $as_echo "#define HAVE_AS_DCI 1" >>confdefs.h
26982 26792
26983 fi 26793 fi
26984 26794
26985 26795
26986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for .gnu_attribute support" >&5 26796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for .gnu_attribute support" >&5
27694 # info to the output file. So, as supported targets are added to gas 2.11, 27504 # info to the output file. So, as supported targets are added to gas 2.11,
27695 # add some instruction here to (also) show we expect this might work. 27505 # add some instruction here to (also) show we expect this might work.
27696 # ??? Once 2.11 is released, probably need to add first known working 27506 # ??? Once 2.11 is released, probably need to add first known working
27697 # version to the per-target configury. 27507 # version to the per-target configury.
27698 case "$cpu_type" in 27508 case "$cpu_type" in
27699 aarch64 | alpha | arc | arm | avr | bfin | cris | i386 | m32c | m68k \ 27509 aarch64 | alpha | arc | arm | avr | bfin | cris | csky | i386 | m32c | m68k \
27700 | microblaze | mips | nios2 | pa | riscv | rs6000 | score | sparc | spu \ 27510 | microblaze | mips | nios2 | pa | riscv | rs6000 | score | sparc | spu \
27701 | tilegx | tilepro | visium | xstormy16 | xtensa) 27511 | tilegx | tilepro | visium | xstormy16 | xtensa)
27702 insn="nop" 27512 insn="nop"
27703 ;; 27513 ;;
27704 ia64 | s390) 27514 ia64 | s390)
27786 if test $gcc_cv_as_dwarf2_debug_line = yes \ 27596 if test $gcc_cv_as_dwarf2_debug_line = yes \
27787 && test $gcc_cv_as_dwarf2_file_buggy = no; then 27597 && test $gcc_cv_as_dwarf2_file_buggy = no; then
27788 27598
27789 $as_echo "#define HAVE_AS_DWARF2_DEBUG_LINE 1" >>confdefs.h 27599 $as_echo "#define HAVE_AS_DWARF2_DEBUG_LINE 1" >>confdefs.h
27790 27600
27601
27602 if test $gcc_cv_as_leb128 = yes; then
27603 conftest_s="\
27604 .file 1 \"conftest.s\"
27605 .loc 1 3 0 view .LVU1
27606 $insn
27607 .data
27608 .uleb128 .LVU1
27609 .uleb128 .LVU1
27610 "
27611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for dwarf2 debug_view support" >&5
27612 $as_echo_n "checking assembler for dwarf2 debug_view support... " >&6; }
27613 if test "${gcc_cv_as_dwarf2_debug_view+set}" = set; then :
27614 $as_echo_n "(cached) " >&6
27615 else
27616 gcc_cv_as_dwarf2_debug_view=no
27617 if test $in_tree_gas = yes; then
27618 if test $in_tree_gas_is_elf = yes \
27619 && test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 27 \) \* 1000 + 0`
27620 then gcc_cv_as_dwarf2_debug_view=yes
27621 fi
27622 elif test x$gcc_cv_as != x; then
27623 $as_echo "$conftest_s" > conftest.s
27624 if { ac_try='$gcc_cv_as $gcc_cv_as_flags -o conftest.o conftest.s >&5'
27625 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
27626 (eval $ac_try) 2>&5
27627 ac_status=$?
27628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27629 test $ac_status = 0; }; }
27630 then
27631 gcc_cv_as_dwarf2_debug_view=yes
27632 else
27633 echo "configure: failed program was" >&5
27634 cat conftest.s >&5
27635 fi
27636 rm -f conftest.o conftest.s
27637 fi
27638 fi
27639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_dwarf2_debug_view" >&5
27640 $as_echo "$gcc_cv_as_dwarf2_debug_view" >&6; }
27641 if test $gcc_cv_as_dwarf2_debug_view = yes; then
27642
27643 $as_echo "#define HAVE_AS_DWARF2_DEBUG_VIEW 1" >>confdefs.h
27644
27645 fi
27646
27647 fi
27791 fi 27648 fi
27792 27649
27793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for --gdwarf2 option" >&5 27650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for --gdwarf2 option" >&5
27794 $as_echo_n "checking assembler for --gdwarf2 option... " >&6; } 27651 $as_echo_n "checking assembler for --gdwarf2 option... " >&6; }
27795 if test "${gcc_cv_as_gdwarf2_flag+set}" = set; then : 27652 if test "${gcc_cv_as_gdwarf2_flag+set}" = set; then :
28255 ;; 28112 ;;
28256 esac 28113 esac
28257 else 28114 else
28258 case "$target" in 28115 case "$target" in
28259 *-*-solaris2.1[1-9]*) 28116 *-*-solaris2.1[1-9]*)
28260 # Solaris 11.x and Solaris 12 added PIE support. 28117 # Solaris 11.3 added PIE support.
28261 if $gcc_cv_ld -z help 2>&1 | grep -- type.*pie > /dev/null; then 28118 if $gcc_cv_ld -z help 2>&1 | grep -- type.*pie > /dev/null; then
28262 gcc_cv_ld_pie=yes 28119 gcc_cv_ld_pie=yes
28263 fi 28120 fi
28264 ;; 28121 ;;
28265 esac 28122 esac
28597 gcc_cv_ld_no_as_needed_option='--no-as-needed' 28454 gcc_cv_ld_no_as_needed_option='--no-as-needed'
28598 if test $in_tree_ld = yes ; then 28455 if test $in_tree_ld = yes ; then
28599 if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 16 -o "$gcc_cv_gld_major_version" -gt 2 \ 28456 if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 16 -o "$gcc_cv_gld_major_version" -gt 2 \
28600 && test $in_tree_ld_is_elf = yes; then 28457 && test $in_tree_ld_is_elf = yes; then
28601 gcc_cv_ld_as_needed=yes 28458 gcc_cv_ld_as_needed=yes
28459 if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 28; then
28460 gcc_cv_ld_as_needed_option='--push-state --as-needed'
28461 gcc_cv_ld_no_as_needed_option='--pop-state'
28462 fi
28602 fi 28463 fi
28603 elif test x$gcc_cv_ld != x; then 28464 elif test x$gcc_cv_ld != x; then
28604 # Check if linker supports --as-needed and --no-as-needed options 28465 # Check if linker supports --as-needed and --no-as-needed options
28605 if $gcc_cv_ld --help 2>&1 | grep as-needed > /dev/null; then 28466 if $gcc_cv_ld --help 2>&1 | grep as-needed > /dev/null; then
28606 gcc_cv_ld_as_needed=yes 28467 gcc_cv_ld_as_needed=yes
28468 if $gcc_cv_ld --help 2>&1 | grep push-state > /dev/null \
28469 && $gcc_cv_ld --help 2>&1 | grep pop-state > /dev/null \
28470 && echo "$ld_ver" | grep GNU > /dev/null \
28471 && test "$ld_vers_major" -eq 2 -a "$ld_vers_minor" -ge 28; then
28472 # Use these options only when both ld.bfd and ld.gold support
28473 # --push-state/--pop-state, which unfortunately wasn't added
28474 # at the same time.
28475 gcc_cv_ld_as_needed_option='--push-state --as-needed'
28476 gcc_cv_ld_no_as_needed_option='--pop-state'
28477 fi
28607 fi 28478 fi
28608 case "$target:$gnu_ld" in 28479 case "$target:$gnu_ld" in
28609 *-*-solaris2*:no) 28480 *-*-solaris2*:no)
28610 # Solaris 2 ld always supports -z ignore/-z record. Prefer the native 28481 # Solaris 2 ld always supports -z ignore/-z record. Prefer the native
28611 # forms. 28482 # forms.
29038 28909
29039 $as_echo "#define HAVE_SOLARIS_CRTS 1" >>confdefs.h 28910 $as_echo "#define HAVE_SOLARIS_CRTS 1" >>confdefs.h
29040 28911
29041 fi 28912 fi
29042 28913
28914 # Check whether --enable-libssp was given.
28915 if test "${enable_libssp+set}" = set; then :
28916 enableval=$enable_libssp; case "${enableval}" in
28917 yes|no)
28918 ;;
28919 *)
28920 as_fn_error "unknown libssp setting $enableval" "$LINENO" 5
28921 ;;
28922 esac
28923 fi
28924
28925
29043 # Test for stack protector support in target C library. 28926 # Test for stack protector support in target C library.
29044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __stack_chk_fail in target C library" >&5 28927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __stack_chk_fail in target C library" >&5
29045 $as_echo_n "checking __stack_chk_fail in target C library... " >&6; } 28928 $as_echo_n "checking __stack_chk_fail in target C library... " >&6; }
29046 if test "${gcc_cv_libc_provides_ssp+set}" = set; then : 28929 if test "${gcc_cv_libc_provides_ssp+set}" = set; then :
29047 $as_echo_n "(cached) " >&6 28930 $as_echo_n "(cached) " >&6
29048 else 28931 else
29049 gcc_cv_libc_provides_ssp=no 28932 gcc_cv_libc_provides_ssp=no
28933 if test "x$enable_libssp" = "xno"; then
28934 gcc_cv_libc_provides_ssp=yes
28935 elif test "x$enable_libssp" = "xyes"; then
28936 gcc_cv_libc_provides_ssp=no
28937 else
29050 case "$target" in 28938 case "$target" in
29051 *-*-musl*) 28939 *-*-musl*)
29052 # All versions of musl provide stack protector 28940 # All versions of musl provide stack protector
29053 gcc_cv_libc_provides_ssp=yes;; 28941 gcc_cv_libc_provides_ssp=yes;;
29054 *-*-linux* | *-*-kfreebsd*-gnu) 28942 *-*-linux* | *-*-kfreebsd*-gnu)
29092 else 28980 else
29093 echo "no __stack_chk_fail on this target" 28981 echo "no __stack_chk_fail on this target"
29094 fi 28982 fi
29095 28983
29096 ;; 28984 ;;
29097 *) gcc_cv_libc_provides_ssp=no ;; 28985 *) gcc_cv_libc_provides_ssp=no ;;
29098 esac 28986 esac
28987 fi
29099 fi 28988 fi
29100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_libc_provides_ssp" >&5 28989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_libc_provides_ssp" >&5
29101 $as_echo "$gcc_cv_libc_provides_ssp" >&6; } 28990 $as_echo "$gcc_cv_libc_provides_ssp" >&6; }
29102 28991
29103 if test x$gcc_cv_libc_provides_ssp = xyes; then 28992 if test x$gcc_cv_libc_provides_ssp = xyes; then
29175 if test x$gcc_cv_target_ldbl128 = xyes; then 29064 if test x$gcc_cv_target_ldbl128 = xyes; then
29176 29065
29177 $as_echo "#define TARGET_DEFAULT_LONG_DOUBLE_128 1" >>confdefs.h 29066 $as_echo "#define TARGET_DEFAULT_LONG_DOUBLE_128 1" >>confdefs.h
29178 29067
29179 fi 29068 fi
29069
29070 # Check if TFmode long double target should use the IBM extended double or IEEE
29071 # 128-bit floating point formats if long doubles are 128-bits long. The long
29072 # double type can only be switched on powerpc64 bit Linux systems where VSX is
29073 # supported. Other PowerPC systems do not build the IEEE 128-bit emulator in
29074 # libgcc.
29075
29076 # Check whether --with-long-double-format was given.
29077 if test "${with_long_double_format+set}" = set; then :
29078 withval=$with_long_double_format;
29079 case "$target:$with_long_double_format" in
29080 powerpc64le-*-linux*:ieee | powerpc64le-*-linux*:ibm)
29081 :
29082 ;;
29083 powerpc64-*-linux*:ieee | powerpc64-*-linux*:ibm)
29084 # IEEE 128-bit emulation is only built on 64-bit VSX Linux systems
29085 case "$with_cpu" in
29086 power7 | power8 | power9 | power1*)
29087 :
29088 ;;
29089 *)
29090 as_fn_error "Configuration option --with-long-double-format is only \
29091 supported if the default cpu is power7 or newer" "$LINENO" 5
29092 with_long_double_format=""
29093 ;;
29094 esac
29095 ;;
29096 xpowerpc64*-*-linux*:*)
29097 as_fn_error "--with-long-double-format argument should be ibm or ieee" "$LINENO" 5
29098 with_long_double_format=""
29099 ;;
29100 *)
29101 as_fn_error "Configure option --with-long-double-format is only supported \
29102 on 64-bit PowerPC VSX Linux systems" "$LINENO" 5
29103 with_long_double_format=""
29104 ;;
29105 esac
29106 fi
29107
29180 29108
29181 # Check if the target LIBC supports exporting the AT_PLATFORM and AT_HWCAP 29109 # Check if the target LIBC supports exporting the AT_PLATFORM and AT_HWCAP
29182 # values in the TCB. Currently, only GLIBC 2.23 and later support this. 29110 # values in the TCB. Currently, only GLIBC 2.23 and later support this.
29183 gcc_cv_libc_provides_hwcap_in_tcb=no 29111 gcc_cv_libc_provides_hwcap_in_tcb=no
29184 case "$target" in 29112 case "$target" in
29439 for language in $all_selected_languages 29367 for language in $all_selected_languages
29440 do 29368 do
29441 check_languages="$check_languages check-$language" 29369 check_languages="$check_languages check-$language"
29442 done 29370 done
29443 29371
29372 selftest_languages=
29373 for language in $all_selected_languages
29374 do
29375 selftest_languages="$selftest_languages selftest-$language"
29376 done
29377
29444 # We link each language in with a set of hooks, reached indirectly via 29378 # We link each language in with a set of hooks, reached indirectly via
29445 # lang.${target}. Only do so for selected languages. 29379 # lang.${target}. Only do so for selected languages.
29446 29380
29447 rm -f Make-hooks 29381 rm -f Make-hooks
29448 touch Make-hooks 29382 touch Make-hooks
29571 29505
29572 29506
29573 29507
29574 29508
29575 29509
29510
29576 # Echo link setup. 29511 # Echo link setup.
29577 if test x${build} = x${host} ; then 29512 if test x${build} = x${host} ; then
29578 if test x${host} = x${target} ; then 29513 if test x${host} = x${target} ; then
29579 echo "Links are now set up to build a native compiler for ${target}." 1>&2 29514 echo "Links are now set up to build a native compiler for ${target}." 1>&2
29580 else 29515 else
29610 enable_plugin=yes; default_plugin=yes 29545 enable_plugin=yes; default_plugin=yes
29611 fi 29546 fi
29612 29547
29613 29548
29614 pluginlibs= 29549 pluginlibs=
29550 plugin_check=yes
29615 29551
29616 case "${host}" in 29552 case "${host}" in
29553 *-*-mingw*)
29554 # Since plugin support under MinGW is not as straightforward as on
29555 # other platforms (e.g., we have to link import library, etc), we
29556 # only enable it if explicitly requested.
29557 if test x"$default_plugin" = x"yes"; then
29558 enable_plugin=no
29559 elif test x"$enable_plugin" = x"yes"; then
29560 # Use make's target variable to derive import library name.
29561 pluginlibs='-Wl,--export-all-symbols -Wl,--out-implib=$@.a'
29562 plugin_check=no
29563 fi
29564 ;;
29617 *-*-darwin*) 29565 *-*-darwin*)
29618 if test x$build = x$host; then 29566 if test x$build = x$host; then
29619 export_sym_check="nm${exeext} -g" 29567 export_sym_check="nm${exeext} -g"
29620 elif test x$host = x$target; then 29568 elif test x$host = x$target; then
29621 export_sym_check="$gcc_cv_nm -g" 29569 export_sym_check="$gcc_cv_nm -g"
29632 export_sym_check= 29580 export_sym_check=
29633 fi 29581 fi
29634 ;; 29582 ;;
29635 esac 29583 esac
29636 29584
29637 if test x"$enable_plugin" = x"yes"; then 29585 if test x"$enable_plugin" = x"yes" -a x"$plugin_check" = x"yes"; then
29638 29586
29639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exported symbols" >&5 29587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exported symbols" >&5
29640 $as_echo_n "checking for exported symbols... " >&6; } 29588 $as_echo_n "checking for exported symbols... " >&6; }
29641 if test "x$export_sym_check" != x; then 29589 if test "x$export_sym_check" != x; then
29642 echo "int main() {return 0;} int foobar() {return 0;}" > conftest.c 29590 echo "int main() {return 0;} int foobar() {return 0;}" > conftest.c
29643 ${CC} ${CFLAGS} ${LDFLAGS} conftest.c -o conftest$ac_exeext > /dev/null 2>&1 29591 ${CC} ${CFLAGS} ${LDFLAGS} conftest.c -o conftest$ac_exeext > /dev/null 2>&1
29644 if $export_sym_check conftest$ac_exeext | grep -q foobar > /dev/null; then 29592 if $export_sym_check conftest$ac_exeext | grep foobar > /dev/null; then
29645 : # No need to use a flag 29593 : # No need to use a flag
29646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 29594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29647 $as_echo "yes" >&6; } 29595 $as_echo "yes" >&6; }
29648 else 29596 else
29649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 29597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29650 $as_echo "yes" >&6; } 29598 $as_echo "yes" >&6; }
29651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -rdynamic" >&5 29599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -rdynamic" >&5
29652 $as_echo_n "checking for -rdynamic... " >&6; } 29600 $as_echo_n "checking for -rdynamic... " >&6; }
29653 ${CC} ${CFLAGS} ${LDFLAGS} -rdynamic conftest.c -o conftest$ac_exeext > /dev/null 2>&1 29601 ${CC} ${CFLAGS} ${LDFLAGS} -rdynamic conftest.c -o conftest$ac_exeext > /dev/null 2>&1
29654 if $export_sym_check conftest$ac_exeext | grep -q foobar > /dev/null; then 29602 if $export_sym_check conftest$ac_exeext | grep foobar > /dev/null; then
29655 plugin_rdynamic=yes 29603 plugin_rdynamic=yes
29656 pluginlibs="-rdynamic" 29604 pluginlibs="-rdynamic"
29657 else 29605 else
29658 plugin_rdynamic=no 29606 plugin_rdynamic=no
29659 enable_plugin=no 29607 enable_plugin=no
29878 _ACEOF 29826 _ACEOF
29879 29827
29880 29828
29881 # Generate gcc-driver-name.h containing GCC_DRIVER_NAME for the benefit 29829 # Generate gcc-driver-name.h containing GCC_DRIVER_NAME for the benefit
29882 # of jit/jit-playback.c. 29830 # of jit/jit-playback.c.
29831 gcc_driver_version=`eval "${get_gcc_base_ver} $srcdir/BASE-VER"`
29832 echo "gcc_driver_version: ${gcc_driver_version}"
29883 cat > gcc-driver-name.h <<EOF 29833 cat > gcc-driver-name.h <<EOF
29884 #define GCC_DRIVER_NAME "${target_noncanonical}-gcc-${gcc_BASEVER}${exeext}" 29834 #define GCC_DRIVER_NAME "${target_noncanonical}-gcc-${gcc_driver_version}${exeext}"
29885 EOF 29835 EOF
29886 29836
29887 # Check whether --enable-default-pie was given. 29837 # Check whether --enable-default-pie was given.
29888 # Check whether --enable-default-pie was given. 29838 # Check whether --enable-default-pie was given.
29889 if test "${enable_default_pie+set}" = set; then : 29839 if test "${enable_default_pie+set}" = set; then :