diff options
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/gcc/configure b/gcc/configure index d4f49bbeceb..eac96cdac70 100755 --- a/gcc/configure +++ b/gcc/configure @@ -23205,6 +23205,18 @@ foo: data8 25 tls_first_minor=13 tls_as_opt=--fatal-warnings ;; + microblaze*-*-*) + conftest_s=' + .section .tdata,"awT",@progbits +x: + .word 2 + .text + addik r5,r20,x@TLSGD + addik r5,r20,x@TLSLDM' + tls_first_major=2 + tls_first_minor=20 + tls_as_opt='--fatal-warnings' + ;; mips*-*-*) conftest_s=' .section .tdata,"awT",@progbits @@ -24632,6 +24644,39 @@ $as_echo "#define HAVE_AS_IX86_SAHF 1" >>confdefs.h fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for interunit movq mnemonic" >&5 +$as_echo_n "checking assembler for interunit movq mnemonic... " >&6; } +if test "${gcc_cv_as_ix86_interunit_movq+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + gcc_cv_as_ix86_interunit_movq=no + if test x$gcc_cv_as != x; then + $as_echo '.code64 + movq %mm0, %rax + movq %rax, %xmm0' > conftest.s + if { ac_try='$gcc_cv_as $gcc_cv_as_flags -o conftest.o conftest.s >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } + then + gcc_cv_as_ix86_interunit_movq=yes + else + echo "configure: failed program was" >&5 + cat conftest.s >&5 + fi + rm -f conftest.o conftest.s + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_ix86_interunit_movq" >&5 +$as_echo "$gcc_cv_as_ix86_interunit_movq" >&6; } +if test $gcc_cv_as_ix86_interunit_movq = yes; then + +$as_echo "#define HAVE_AS_IX86_INTERUNIT_MOVQ 1" >>confdefs.h + +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for hle prefixes" >&5 $as_echo_n "checking assembler for hle prefixes... " >&6; } if test "${gcc_cv_as_ix86_hle+set}" = set; then : @@ -25708,6 +25753,37 @@ $as_echo "#define HAVE_AS_GNU_ATTRIBUTE 1" >>confdefs.h fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for .micromips support" >&5 +$as_echo_n "checking assembler for .micromips support... " >&6; } +if test "${gcc_cv_as_micromips_support+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + gcc_cv_as_micromips_support=no + if test x$gcc_cv_as != x; then + $as_echo '.set micromips' > conftest.s + if { ac_try='$gcc_cv_as $gcc_cv_as_flags -o conftest.o conftest.s >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } + then + gcc_cv_as_micromips_support=yes + else + echo "configure: failed program was" >&5 + cat conftest.s >&5 + fi + rm -f conftest.o conftest.s + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_micromips_support" >&5 +$as_echo "$gcc_cv_as_micromips_support" >&6; } +if test $gcc_cv_as_micromips_support = yes; then + +$as_echo "#define HAVE_GAS_MICROMIPS 1" >>confdefs.h + +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for .dtprelword support" >&5 $as_echo_n "checking assembler for .dtprelword support... " >&6; } if test "${gcc_cv_as_mips_dtprelword+set}" = set; then : @@ -26274,6 +26350,46 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_ld_eh_frame_hdr" >&5 $as_echo "$gcc_cv_ld_eh_frame_hdr" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking linker CIEv3 in .eh_frame support" >&5 +$as_echo_n "checking linker CIEv3 in .eh_frame support... " >&6; } +gcc_cv_ld_eh_frame_ciev3=no +if test $in_tree_ld = yes ; then + 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 \ + && test $in_tree_ld_is_elf = yes; then + gcc_cv_ld_eh_frame_ciev3=yes + fi +elif test x$gcc_cv_ld != x; then + if echo "$ld_ver" | grep GNU > /dev/null; then + gcc_cv_ld_eh_frame_ciev3=yes + if test 0"$ld_date" -lt 20040513; then + if test -n "$ld_date"; then + # If there was date string, but was earlier than 2004-05-13, fail + gcc_cv_ld_eh_frame_ciev3=no + elif test "$ld_vers_major" -lt 2; then + gcc_cv_ld_eh_frame_ciev3=no + elif test "$ld_vers_major" -eq 2 -a "$ld_vers_minor" -lt 16; then + gcc_cv_ld_eh_frame_ciev3=no + fi + fi + else + case "$target" in + *-*-solaris2*) + # Sun ld added support for CIE v3 in .eh_frame in Solaris 11.1. + if test "$ld_vers_major" -gt 1 || test "$ld_vers_minor" -ge 2324; then + gcc_cv_ld_eh_frame_ciev3=yes + fi + ;; + esac + fi +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_LD_EH_FRAME_CIEV3 `if test x"$gcc_cv_ld_eh_frame_ciev3" = xyes; then echo 1; else echo 0; fi` +_ACEOF + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_ld_eh_frame_ciev3" >&5 +$as_echo "$gcc_cv_ld_eh_frame_ciev3" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker position independent executable support" >&5 $as_echo_n "checking linker position independent executable support... " >&6; } gcc_cv_ld_pie=no |