Commit f6f5dff2 by Rainer Orth Committed by Rainer Orth

re PR target/12101 (i386 Solaris no longer works with GNU as?)

	* configure.in (gcc_cv_as_ix86_cmov_sun_syntax): Check if
	assembler supports Sun syntax for cmov.
	* configure: Regenerate.
	* config.in: Likewise.
	* config/i386/i386.c: Rename CMOV_SUN_AS_SYNTAX to
	HAVE_AS_IX86_CMOV_SUN_SYNTAX.
	* config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Remove.
	Fixes PR target/12101.

From-SVN: r71089
parent 47ab33b2
2003-09-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure.in (gcc_cv_as_ix86_cmov_sun_syntax): Check if
assembler supports Sun syntax for cmov.
* configure: Regenerate.
* config.in: Likewise.
* config/i386/i386.c: Rename CMOV_SUN_AS_SYNTAX to
HAVE_AS_IX86_CMOV_SUN_SYNTAX.
* config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Remove.
Fixes PR target/12101.
2003-09-04 Matt Austern <austern@apple.com> 2003-09-04 Matt Austern <austern@apple.com>
* c-common.c (fname_as_string): Use lang_hooks.decl_printable_name * c-common.c (fname_as_string): Use lang_hooks.decl_printable_name
......
...@@ -480,6 +480,9 @@ ...@@ -480,6 +480,9 @@
/* Define if your assembler uses the new HImode fild and fist notation. */ /* Define if your assembler uses the new HImode fild and fist notation. */
#undef HAVE_GAS_FILDS_FISTS #undef HAVE_GAS_FILDS_FISTS
/* Define if your assembler supports the Sun syntax for cmov. */
#undef HAVE_AS_IX86_CMOV_SUN_SYNTAX
/* Define true if the assembler supports '.long foo@GOTOFF'. */ /* Define true if the assembler supports '.long foo@GOTOFF'. */
#undef HAVE_AS_GOTOFF_IN_DATA #undef HAVE_AS_GOTOFF_IN_DATA
......
...@@ -7020,8 +7020,8 @@ get_some_local_dynamic_name_1 (rtx *px, void *data ATTRIBUTE_UNUSED) ...@@ -7020,8 +7020,8 @@ get_some_local_dynamic_name_1 (rtx *px, void *data ATTRIBUTE_UNUSED)
C -- print opcode suffix for set/cmov insn. C -- print opcode suffix for set/cmov insn.
c -- like C, but print reversed condition c -- like C, but print reversed condition
F,f -- likewise, but for floating-point. F,f -- likewise, but for floating-point.
O -- if CMOV_SUN_AS_SYNTAX, expand to "w.", "l." or "q.", otherwise O -- if HAVE_AS_IX86_CMOV_SUN_SYNTAX, expand to "w.", "l." or "q.",
nothing otherwise nothing
R -- print the prefix for register names. R -- print the prefix for register names.
z -- print the opcode suffix for the size of the current operand. z -- print the opcode suffix for the size of the current operand.
* -- print a star (in certain assembler syntax) * -- print a star (in certain assembler syntax)
...@@ -7222,7 +7222,7 @@ print_operand (FILE *file, rtx x, int code) ...@@ -7222,7 +7222,7 @@ print_operand (FILE *file, rtx x, int code)
} }
return; return;
case 'O': case 'O':
#ifdef CMOV_SUN_AS_SYNTAX #ifdef HAVE_AS_IX86_CMOV_SUN_SYNTAX
if (ASSEMBLER_DIALECT == ASM_ATT) if (ASSEMBLER_DIALECT == ASM_ATT)
{ {
switch (GET_MODE (x)) switch (GET_MODE (x))
...@@ -7242,7 +7242,7 @@ print_operand (FILE *file, rtx x, int code) ...@@ -7242,7 +7242,7 @@ print_operand (FILE *file, rtx x, int code)
put_condition_code (GET_CODE (x), GET_MODE (XEXP (x, 0)), 0, 0, file); put_condition_code (GET_CODE (x), GET_MODE (XEXP (x, 0)), 0, 0, file);
return; return;
case 'F': case 'F':
#ifdef CMOV_SUN_AS_SYNTAX #ifdef HAVE_AS_IX86_CMOV_SUN_SYNTAX
if (ASSEMBLER_DIALECT == ASM_ATT) if (ASSEMBLER_DIALECT == ASM_ATT)
putc ('.', file); putc ('.', file);
#endif #endif
...@@ -7261,7 +7261,7 @@ print_operand (FILE *file, rtx x, int code) ...@@ -7261,7 +7261,7 @@ print_operand (FILE *file, rtx x, int code)
put_condition_code (GET_CODE (x), GET_MODE (XEXP (x, 0)), 1, 0, file); put_condition_code (GET_CODE (x), GET_MODE (XEXP (x, 0)), 1, 0, file);
return; return;
case 'f': case 'f':
#ifdef CMOV_SUN_AS_SYNTAX #ifdef HAVE_AS_IX86_CMOV_SUN_SYNTAX
if (ASSEMBLER_DIALECT == ASM_ATT) if (ASSEMBLER_DIALECT == ASM_ATT)
putc ('.', file); putc ('.', file);
#endif #endif
......
/* Target definitions for GNU compiler for Intel 80386 running Solaris 2 /* Target definitions for GNU compiler for Intel 80386 running Solaris 2
Copyright (C) 1993, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Copyright (C) 1993, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
Free Software Foundation, Inc. Free Software Foundation, Inc.
Contributed by Fred Fish (fnf@cygnus.com). Contributed by Fred Fish (fnf@cygnus.com).
...@@ -20,8 +20,6 @@ along with GNU CC; see the file COPYING. If not, write to ...@@ -20,8 +20,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#define CMOV_SUN_AS_SYNTAX 1
/* The Solaris 2.0 x86 linker botches alignment of code sections. /* The Solaris 2.0 x86 linker botches alignment of code sections.
It tries to align to a 16 byte boundary by padding with 0x00000090 It tries to align to a 16 byte boundary by padding with 0x00000090
ints, rather than 0x90 bytes (nop). This generates trash in the ints, rather than 0x90 bytes (nop). This generates trash in the
......
...@@ -6951,10 +6951,37 @@ EOF ...@@ -6951,10 +6951,37 @@ EOF
fi fi
echo $ac_n "checking assembler for cmov syntax""... $ac_c" 1>&6
echo "configure:6956: checking assembler for cmov syntax" >&5
if eval "test \"`echo '$''{'gcc_cv_as_ix86_cmov_sun_syntax'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
gcc_cv_as_ix86_cmov_sun_syntax=no
if test x$gcc_cv_as != x; then
echo 'cmovl.l %edx, %eax' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then
gcc_cv_as_ix86_cmov_sun_syntax=yes
else
echo "configure: failed program was" >&5
cat conftest.s >&5
fi
rm -f conftest.o conftest.s
fi
fi
echo "$ac_t""$gcc_cv_as_ix86_cmov_sun_syntax" 1>&6
if test $gcc_cv_as_ix86_cmov_sun_syntax = yes; then
cat >> confdefs.h <<\EOF
#define HAVE_AS_IX86_CMOV_SUN_SYNTAX 1
EOF
fi
# This one is used unconditionally by i386.[ch]; it is to be defined # This one is used unconditionally by i386.[ch]; it is to be defined
# to 1 if the feature is present, 0 otherwise. # to 1 if the feature is present, 0 otherwise.
echo $ac_n "checking assembler for GOTOFF in data""... $ac_c" 1>&6 echo $ac_n "checking assembler for GOTOFF in data""... $ac_c" 1>&6
echo "configure:6958: checking assembler for GOTOFF in data" >&5 echo "configure:6985: checking assembler for GOTOFF in data" >&5
if eval "test \"`echo '$''{'gcc_cv_as_ix86_gotoff_in_data'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_ix86_gotoff_in_data'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6969,7 +6996,7 @@ fi ...@@ -6969,7 +6996,7 @@ fi
nop nop
.data .data
.long .L0@GOTOFF' > conftest.s .long .L0@GOTOFF' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_ix86_gotoff_in_data=yes gcc_cv_as_ix86_gotoff_in_data=yes
else else
...@@ -6990,7 +7017,7 @@ EOF ...@@ -6990,7 +7017,7 @@ EOF
ia64*-*-*) ia64*-*-*)
echo $ac_n "checking assembler for ltoffx and ldxmov relocs""... $ac_c" 1>&6 echo $ac_n "checking assembler for ltoffx and ldxmov relocs""... $ac_c" 1>&6
echo "configure:6994: checking assembler for ltoffx and ldxmov relocs" >&5 echo "configure:7021: checking assembler for ltoffx and ldxmov relocs" >&5
if eval "test \"`echo '$''{'gcc_cv_as_ia64_ltoffx_ldxmov_relocs'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_ia64_ltoffx_ldxmov_relocs'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7004,7 +7031,7 @@ fi ...@@ -7004,7 +7031,7 @@ fi
addl r15 = @ltoffx(x#), gp addl r15 = @ltoffx(x#), gp
;; ;;
ld8.mov r16 = [r15], x#' > conftest.s ld8.mov r16 = [r15], x#' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_ia64_ltoffx_ldxmov_relocs=yes gcc_cv_as_ia64_ltoffx_ldxmov_relocs=yes
else else
...@@ -7034,7 +7061,7 @@ fi ...@@ -7034,7 +7061,7 @@ fi
mfcr 3,128" mfcr 3,128"
echo $ac_n "checking assembler for mfcr field support""... $ac_c" 1>&6 echo $ac_n "checking assembler for mfcr field support""... $ac_c" 1>&6
echo "configure:7038: checking assembler for mfcr field support" >&5 echo "configure:7065: checking assembler for mfcr field support" >&5
if eval "test \"`echo '$''{'gcc_cv_as_powerpc_mfcrf'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_powerpc_mfcrf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7045,7 +7072,7 @@ else ...@@ -7045,7 +7072,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo "$conftest_s" > conftest.s echo "$conftest_s" > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_powerpc_mfcrf=yes gcc_cv_as_powerpc_mfcrf=yes
else else
...@@ -7067,7 +7094,7 @@ fi ...@@ -7067,7 +7094,7 @@ fi
mips*-*-*) mips*-*-*)
echo $ac_n "checking assembler for explicit relocation support""... $ac_c" 1>&6 echo $ac_n "checking assembler for explicit relocation support""... $ac_c" 1>&6
echo "configure:7071: checking assembler for explicit relocation support" >&5 echo "configure:7098: checking assembler for explicit relocation support" >&5
if eval "test \"`echo '$''{'gcc_cv_as_mips_explicit_relocs'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_mips_explicit_relocs'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7078,7 +7105,7 @@ else ...@@ -7078,7 +7105,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo ' lw $4,%gp_rel(foo)($4)' > conftest.s echo ' lw $4,%gp_rel(foo)($4)' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_mips_explicit_relocs=yes gcc_cv_as_mips_explicit_relocs=yes
else else
...@@ -7124,7 +7151,7 @@ if test x"$insn" != x; then ...@@ -7124,7 +7151,7 @@ if test x"$insn" != x; then
.loc 1 3 0 .loc 1 3 0
$insn" $insn"
echo $ac_n "checking assembler for dwarf2 debug_line support""... $ac_c" 1>&6 echo $ac_n "checking assembler for dwarf2 debug_line support""... $ac_c" 1>&6
echo "configure:7128: checking assembler for dwarf2 debug_line support" >&5 echo "configure:7155: checking assembler for dwarf2 debug_line support" >&5
if eval "test \"`echo '$''{'gcc_cv_as_dwarf2_debug_line'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_dwarf2_debug_line'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7136,7 +7163,7 @@ else ...@@ -7136,7 +7163,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo "$conftest_s" > conftest.s echo "$conftest_s" > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
# ??? This fails with non-gnu grep. Maybe use objdump? # ??? This fails with non-gnu grep. Maybe use objdump?
if grep debug_line conftest.o > /dev/null 2>&1; then if grep debug_line conftest.o > /dev/null 2>&1; then
...@@ -7158,7 +7185,7 @@ echo "$ac_t""$gcc_cv_as_dwarf2_debug_line" 1>&6 ...@@ -7158,7 +7185,7 @@ echo "$ac_t""$gcc_cv_as_dwarf2_debug_line" 1>&6
# by DW_AT_decl_file. Approximate this test by testing if # by DW_AT_decl_file. Approximate this test by testing if
# the assembler bitches if the same index is assigned twice. # the assembler bitches if the same index is assigned twice.
echo $ac_n "checking assembler for buggy dwarf2 .file directive""... $ac_c" 1>&6 echo $ac_n "checking assembler for buggy dwarf2 .file directive""... $ac_c" 1>&6
echo "configure:7162: checking assembler for buggy dwarf2 .file directive" >&5 echo "configure:7189: checking assembler for buggy dwarf2 .file directive" >&5
if eval "test \"`echo '$''{'gcc_cv_as_dwarf2_file_buggy'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_dwarf2_file_buggy'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7166,7 +7193,7 @@ else ...@@ -7166,7 +7193,7 @@ else
if test x$gcc_cv_as != x; then if test x$gcc_cv_as != x; then
echo ' .file 1 "foo.s" echo ' .file 1 "foo.s"
.file 1 "bar.s"' > conftest.s .file 1 "bar.s"' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_dwarf2_file_buggy=yes gcc_cv_as_dwarf2_file_buggy=yes
else else
...@@ -7189,7 +7216,7 @@ EOF ...@@ -7189,7 +7216,7 @@ EOF
fi fi
echo $ac_n "checking assembler for --gdwarf2 option""... $ac_c" 1>&6 echo $ac_n "checking assembler for --gdwarf2 option""... $ac_c" 1>&6
echo "configure:7193: checking assembler for --gdwarf2 option" >&5 echo "configure:7220: checking assembler for --gdwarf2 option" >&5
if eval "test \"`echo '$''{'gcc_cv_as_gdwarf2_flag'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_gdwarf2_flag'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7201,7 +7228,7 @@ else ...@@ -7201,7 +7228,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo "$insn" > conftest.s echo "$insn" > conftest.s
if { ac_try='$gcc_cv_as --gdwarf2 -o conftest.o conftest.s >&5'; { (eval echo configure:7205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as --gdwarf2 -o conftest.o conftest.s >&5'; { (eval echo configure:7232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_gdwarf2_flag=yes gcc_cv_as_gdwarf2_flag=yes
else else
...@@ -7221,7 +7248,7 @@ EOF ...@@ -7221,7 +7248,7 @@ EOF
fi fi
echo $ac_n "checking assembler for --gstabs option""... $ac_c" 1>&6 echo $ac_n "checking assembler for --gstabs option""... $ac_c" 1>&6
echo "configure:7225: checking assembler for --gstabs option" >&5 echo "configure:7252: checking assembler for --gstabs option" >&5
if eval "test \"`echo '$''{'gcc_cv_as_gstabs_flag'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_gstabs_flag'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7233,12 +7260,12 @@ else ...@@ -7233,12 +7260,12 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo "$insn" > conftest.s echo "$insn" > conftest.s
if { ac_try='$gcc_cv_as --gstabs -o conftest.o conftest.s >&5'; { (eval echo configure:7237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as --gstabs -o conftest.o conftest.s >&5'; { (eval echo configure:7264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
# The native Solaris 9/Intel assembler doesn't understand --gstabs # The native Solaris 9/Intel assembler doesn't understand --gstabs
# and warns about it, but still exits successfully. So check for # and warns about it, but still exits successfully. So check for
# this. # this.
if { ac_try='$gcc_cv_as --gstabs -o conftest.o conftest.s 2>&1 | grep -i warning > /dev/null'; { (eval echo configure:7242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as --gstabs -o conftest.o conftest.s 2>&1 | grep -i warning > /dev/null'; { (eval echo configure:7269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then : then :
else gcc_cv_as_gstabs_flag=yes else gcc_cv_as_gstabs_flag=yes
fi fi
...@@ -7260,7 +7287,7 @@ fi ...@@ -7260,7 +7287,7 @@ fi
fi fi
echo $ac_n "checking linker read-only and read-write section mixing""... $ac_c" 1>&6 echo $ac_n "checking linker read-only and read-write section mixing""... $ac_c" 1>&6
echo "configure:7264: checking linker read-only and read-write section mixing" >&5 echo "configure:7291: checking linker read-only and read-write section mixing" >&5
gcc_cv_ld_ro_rw_mix=unknown gcc_cv_ld_ro_rw_mix=unknown
if test $in_tree_ld = yes ; then if test $in_tree_ld = yes ; then
if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 10 -o "$gcc_cv_gld_major_version" -gt 2 \ if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 10 -o "$gcc_cv_gld_major_version" -gt 2 \
...@@ -7299,7 +7326,7 @@ fi ...@@ -7299,7 +7326,7 @@ fi
echo "$ac_t""$gcc_cv_ld_ro_rw_mix" 1>&6 echo "$ac_t""$gcc_cv_ld_ro_rw_mix" 1>&6
echo $ac_n "checking linker PT_GNU_EH_FRAME support""... $ac_c" 1>&6 echo $ac_n "checking linker PT_GNU_EH_FRAME support""... $ac_c" 1>&6
echo "configure:7303: checking linker PT_GNU_EH_FRAME support" >&5 echo "configure:7330: checking linker PT_GNU_EH_FRAME support" >&5
gcc_cv_ld_eh_frame_hdr=no gcc_cv_ld_eh_frame_hdr=no
if test $in_tree_ld = yes ; then if test $in_tree_ld = yes ; then
if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 12 -o "$gcc_cv_gld_major_version" -gt 2 \ if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 12 -o "$gcc_cv_gld_major_version" -gt 2 \
...@@ -7321,7 +7348,7 @@ fi ...@@ -7321,7 +7348,7 @@ fi
echo "$ac_t""$gcc_cv_ld_eh_frame_hdr" 1>&6 echo "$ac_t""$gcc_cv_ld_eh_frame_hdr" 1>&6
echo $ac_n "checking linker position independent executable support""... $ac_c" 1>&6 echo $ac_n "checking linker position independent executable support""... $ac_c" 1>&6
echo "configure:7325: checking linker position independent executable support" >&5 echo "configure:7352: checking linker position independent executable support" >&5
gcc_cv_ld_pie=no gcc_cv_ld_pie=no
if test $in_tree_ld = yes ; then if test $in_tree_ld = yes ; then
if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 15 -o "$gcc_cv_gld_major_version" -gt 2 \ if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 15 -o "$gcc_cv_gld_major_version" -gt 2 \
...@@ -7346,7 +7373,7 @@ echo "$ac_t""$gcc_cv_ld_pie" 1>&6 ...@@ -7346,7 +7373,7 @@ echo "$ac_t""$gcc_cv_ld_pie" 1>&6
case "$target" in case "$target" in
mips*-*-*) mips*-*-*)
echo $ac_n "checking whether libgloss uses STARTUP directives consistently""... $ac_c" 1>&6 echo $ac_n "checking whether libgloss uses STARTUP directives consistently""... $ac_c" 1>&6
echo "configure:7350: checking whether libgloss uses STARTUP directives consistently" >&5 echo "configure:7377: checking whether libgloss uses STARTUP directives consistently" >&5
gcc_cv_mips_libgloss_startup=no gcc_cv_mips_libgloss_startup=no
gcc_cv_libgloss_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/libgloss gcc_cv_libgloss_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/libgloss
if test "x$exec_prefix" = xNONE; then if test "x$exec_prefix" = xNONE; then
...@@ -7548,7 +7575,7 @@ fi ...@@ -7548,7 +7575,7 @@ fi
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
echo "configure:7552: checking whether to enable maintainer-specific portions of Makefiles" >&5 echo "configure:7579: checking whether to enable maintainer-specific portions of Makefiles" >&5
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then if test "${enable_maintainer_mode+set}" = set; then
enableval="$enable_maintainer_mode" enableval="$enable_maintainer_mode"
......
...@@ -2263,6 +2263,12 @@ changequote([,])dnl ...@@ -2263,6 +2263,12 @@ changequote([,])dnl
[AC_DEFINE(HAVE_GAS_FILDS_FISTS, 1, [AC_DEFINE(HAVE_GAS_FILDS_FISTS, 1,
[Define if your assembler uses the new HImode fild and fist notation.])]) [Define if your assembler uses the new HImode fild and fist notation.])])
gcc_GAS_CHECK_FEATURE([cmov syntax],
gcc_cv_as_ix86_cmov_sun_syntax,,,
[cmovl.l %edx, %eax],,
[AC_DEFINE(HAVE_AS_IX86_CMOV_SUN_SYNTAX, 1,
[Define if your assembler supports the Sun syntax for cmov.])])
# This one is used unconditionally by i386.[ch]; it is to be defined # This one is used unconditionally by i386.[ch]; it is to be defined
# to 1 if the feature is present, 0 otherwise. # to 1 if the feature is present, 0 otherwise.
gcc_GAS_CHECK_FEATURE([GOTOFF in data], gcc_GAS_CHECK_FEATURE([GOTOFF in data],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment