re PR bootstrap/12383 (Bootstrap fails in dwarf2out with `HAVE_GAS_SHF_MERGE' undeclared)
2003-09-23 Andrew Pinski <apinski@apple.com> PR bootstrap/12383 * configure: Regenerate. From-SVN: r71721
This commit is contained in:
parent
e743d226a0
commit
8ad9fb3334
2 changed files with 92 additions and 80 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-09-23 Andrew Pinski <apinski@apple.com>
|
||||
|
||||
PR bootstrap/12383
|
||||
* configure: Regenerate.
|
||||
|
||||
2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
|
||||
|
||||
* config.gcc (x86_64-*-freebsd*): Disable fixproto (accidentally
|
||||
|
|
167
gcc/configure
vendored
167
gcc/configure
vendored
|
@ -609,7 +609,7 @@ fi
|
|||
|
||||
# Determine the host, build, and target systems
|
||||
ac_aux_dir=
|
||||
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
||||
for ac_dir in ${GNUSYSTEM_AUX_DIR} $srcdir $srcdir/.. $srcdir/../..; do
|
||||
if test -f $ac_dir/install-sh; then
|
||||
ac_aux_dir=$ac_dir
|
||||
ac_install_sh="$ac_aux_dir/install-sh -c"
|
||||
|
@ -5141,9 +5141,7 @@ fi
|
|||
target_gtfiles=
|
||||
|
||||
# Collect target-machine-specific information.
|
||||
for machine in $target ; do
|
||||
. ${srcdir}/config.gcc
|
||||
done
|
||||
. ${srcdir}/config.gcc
|
||||
|
||||
extra_objs="${host_extra_objs} ${extra_objs}"
|
||||
|
||||
|
@ -5390,7 +5388,7 @@ if test -f ../intl/config.intl; then
|
|||
. ../intl/config.intl
|
||||
fi
|
||||
echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
|
||||
echo "configure:5394: checking whether NLS is requested" >&5
|
||||
echo "configure:5392: checking whether NLS is requested" >&5
|
||||
if test x"$USE_NLS" != xyes; then
|
||||
echo "$ac_t""no" 1>&6
|
||||
else
|
||||
|
@ -5401,7 +5399,7 @@ EOF
|
|||
|
||||
|
||||
echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
|
||||
echo "configure:5405: checking for catalogs to be installed" >&5
|
||||
echo "configure:5403: checking for catalogs to be installed" >&5
|
||||
# Look for .po and .gmo files in the source directory.
|
||||
CATALOGS=
|
||||
XLINGUAS=
|
||||
|
@ -5451,7 +5449,7 @@ fi
|
|||
case $host_os in
|
||||
win32 | pe | cygwin* | mingw32* | uwin*)
|
||||
echo $ac_n "checking whether windows registry support is requested""... $ac_c" 1>&6
|
||||
echo "configure:5455: checking whether windows registry support is requested" >&5
|
||||
echo "configure:5453: checking whether windows registry support is requested" >&5
|
||||
if test "x$enable_win32_registry" != xno; then
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define ENABLE_WIN32_REGISTRY 1
|
||||
|
@ -5460,14 +5458,14 @@ EOF
|
|||
echo "$ac_t""yes" 1>&6
|
||||
|
||||
echo $ac_n "checking for library containing RegOpenKeyExA""... $ac_c" 1>&6
|
||||
echo "configure:5464: checking for library containing RegOpenKeyExA" >&5
|
||||
echo "configure:5462: checking for library containing RegOpenKeyExA" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_search_RegOpenKeyExA'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
ac_func_search_save_LIBS="$LIBS"
|
||||
ac_cv_search_RegOpenKeyExA="no"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5471 "configure"
|
||||
#line 5469 "configure"
|
||||
#include "confdefs.h"
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
|
@ -5478,7 +5476,7 @@ int main() {
|
|||
RegOpenKeyExA()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
ac_cv_search_RegOpenKeyExA="none required"
|
||||
else
|
||||
|
@ -5489,7 +5487,7 @@ rm -f conftest*
|
|||
test "$ac_cv_search_RegOpenKeyExA" = "no" && for i in advapi32; do
|
||||
LIBS="-l$i $ac_func_search_save_LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5493 "configure"
|
||||
#line 5491 "configure"
|
||||
#include "confdefs.h"
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
|
@ -5500,7 +5498,7 @@ int main() {
|
|||
RegOpenKeyExA()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
ac_cv_search_RegOpenKeyExA="-l$i"
|
||||
break
|
||||
|
@ -5542,7 +5540,7 @@ esac
|
|||
|
||||
if test "x$enable_win32_registry" != xno; then
|
||||
echo $ac_n "checking registry key on windows hosts""... $ac_c" 1>&6
|
||||
echo "configure:5546: checking registry key on windows hosts" >&5
|
||||
echo "configure:5544: checking registry key on windows hosts" >&5
|
||||
cat >> confdefs.h <<EOF
|
||||
#define WIN32_REGISTRY_KEY "$gcc_cv_win32_registry_key"
|
||||
EOF
|
||||
|
@ -5755,7 +5753,17 @@ CC_FOR_BUILD='$(CC)'
|
|||
BUILD_CFLAGS='$(ALL_CFLAGS)'
|
||||
|
||||
STMP_FIXINC=stmp-fixinc
|
||||
STMP_FIXPROTO=stmp-fixproto
|
||||
|
||||
# Possibly disable fixproto, on a per-target basis.
|
||||
case ${use_fixproto} in
|
||||
no)
|
||||
STMP_FIXPROTO=
|
||||
;;
|
||||
yes)
|
||||
STMP_FIXPROTO=stmp-fixproto
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
# And these apply if build != host, or we are generating coverage data
|
||||
if test x$build != x$host || test "x$coverage_flags" != x
|
||||
|
@ -5801,7 +5809,7 @@ esac
|
|||
# build->target assembler and hope that it will have the same features
|
||||
# as the host->target assembler we'll be using.
|
||||
echo $ac_n "checking what assembler to use""... $ac_c" 1>&6
|
||||
echo "configure:5805: checking what assembler to use" >&5
|
||||
echo "configure:5813: checking what assembler to use" >&5
|
||||
in_tree_gas=no
|
||||
gcc_cv_as=
|
||||
gcc_cv_gas_major_version=
|
||||
|
@ -5925,7 +5933,7 @@ esac
|
|||
# build->target linker and hope that it will have the same features
|
||||
# as the host->target linker we'll be using.
|
||||
echo $ac_n "checking what linker to use""... $ac_c" 1>&6
|
||||
echo "configure:5929: checking what linker to use" >&5
|
||||
echo "configure:5937: checking what linker to use" >&5
|
||||
in_tree_ld=no
|
||||
gcc_cv_ld=
|
||||
gcc_cv_gld_major_version=
|
||||
|
@ -6033,7 +6041,7 @@ esac
|
|||
# Figure out what nm we will be using.
|
||||
gcc_cv_binutils_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/binutils
|
||||
echo $ac_n "checking what nm to use""... $ac_c" 1>&6
|
||||
echo "configure:6037: checking what nm to use" >&5
|
||||
echo "configure:6045: checking what nm to use" >&5
|
||||
in_tree_nm=no
|
||||
if test -x nm$host_exeext; then
|
||||
gcc_cv_nm=./nm$host_exeext
|
||||
|
@ -6056,7 +6064,7 @@ esac
|
|||
|
||||
# Figure out what objdump we will be using.
|
||||
echo $ac_n "checking what objdump to use""... $ac_c" 1>&6
|
||||
echo "configure:6060: checking what objdump to use" >&5
|
||||
echo "configure:6068: checking what objdump to use" >&5
|
||||
in_tree_objdump=no
|
||||
if test -x objdump$host_exeext; then
|
||||
gcc_cv_objdump=./objdump$host_exeext
|
||||
|
@ -6081,7 +6089,7 @@ esac
|
|||
|
||||
# Figure out what assembler alignment features are present.
|
||||
echo $ac_n "checking assembler for .balign and .p2align""... $ac_c" 1>&6
|
||||
echo "configure:6085: checking assembler for .balign and .p2align" >&5
|
||||
echo "configure:6093: checking assembler for .balign and .p2align" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_balign_and_p2align'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -6093,7 +6101,7 @@ fi
|
|||
elif test x$gcc_cv_as != x; then
|
||||
echo '.balign 4
|
||||
.p2align 2' > conftest.s
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
gcc_cv_as_balign_and_p2align=yes
|
||||
else
|
||||
|
@ -6113,7 +6121,7 @@ EOF
|
|||
fi
|
||||
|
||||
echo $ac_n "checking assembler for .p2align with maximum skip""... $ac_c" 1>&6
|
||||
echo "configure:6117: checking assembler for .p2align with maximum skip" >&5
|
||||
echo "configure:6125: checking assembler for .p2align with maximum skip" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_max_skip_p2align'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -6124,7 +6132,7 @@ else
|
|||
fi
|
||||
elif test x$gcc_cv_as != x; then
|
||||
echo '.p2align 4,,7' > conftest.s
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
gcc_cv_as_max_skip_p2align=yes
|
||||
else
|
||||
|
@ -6144,7 +6152,7 @@ EOF
|
|||
fi
|
||||
|
||||
echo $ac_n "checking assembler for working .subsection -1""... $ac_c" 1>&6
|
||||
echo "configure:6148: checking assembler for working .subsection -1" >&5
|
||||
echo "configure:6156: checking assembler for working .subsection -1" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_subsection_m1'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -6159,7 +6167,7 @@ fi
|
|||
.subsection -1
|
||||
conftest_label2: .word 0
|
||||
.previous' > conftest.s
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
if test x$gcc_cv_nm != x; then
|
||||
$gcc_cv_nm conftest.o | grep conftest_label1 > conftest.nm1
|
||||
|
@ -6187,7 +6195,7 @@ EOF
|
|||
fi
|
||||
|
||||
echo $ac_n "checking assembler for .weak""... $ac_c" 1>&6
|
||||
echo "configure:6191: checking assembler for .weak" >&5
|
||||
echo "configure:6199: checking assembler for .weak" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_weak'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -6198,7 +6206,7 @@ else
|
|||
fi
|
||||
elif test x$gcc_cv_as != x; then
|
||||
echo ' .weak foobar' > conftest.s
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
gcc_cv_as_weak=yes
|
||||
else
|
||||
|
@ -6225,7 +6233,7 @@ fi
|
|||
# to be safe.
|
||||
# The gcc_GAS_CHECK_FEATURE call just sets a cache variable.
|
||||
echo $ac_n "checking assembler for .hidden""... $ac_c" 1>&6
|
||||
echo "configure:6229: checking assembler for .hidden" >&5
|
||||
echo "configure:6237: checking assembler for .hidden" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_hidden'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -6238,7 +6246,7 @@ fi
|
|||
elif test x$gcc_cv_as != x; then
|
||||
echo ' .hidden foobar
|
||||
foobar:' > conftest.s
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
gcc_cv_as_hidden=yes
|
||||
else
|
||||
|
@ -6253,7 +6261,7 @@ echo "$ac_t""$gcc_cv_as_hidden" 1>&6
|
|||
|
||||
|
||||
echo $ac_n "checking linker for .hidden support""... $ac_c" 1>&6
|
||||
echo "configure:6257: checking linker for .hidden support" >&5
|
||||
echo "configure:6265: checking linker for .hidden support" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_ld_hidden'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -6316,7 +6324,7 @@ fi
|
|||
|
||||
# Check if we have .[us]leb128, and support symbol arithmetic with it.
|
||||
echo $ac_n "checking assembler for .sleb128 and .uleb128""... $ac_c" 1>&6
|
||||
echo "configure:6320: checking assembler for .sleb128 and .uleb128" >&5
|
||||
echo "configure:6328: checking assembler for .sleb128 and .uleb128" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_leb128'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -6333,7 +6341,7 @@ L1:
|
|||
.uleb128 1280
|
||||
.sleb128 -1010
|
||||
L2:' > conftest.s
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
# GAS versions before 2.11 do not support uleb128,
|
||||
# despite appearing to.
|
||||
|
@ -6369,7 +6377,7 @@ fi
|
|||
# GAS versions up to and including 2.11.0 may mis-optimize
|
||||
# .eh_frame data.
|
||||
echo $ac_n "checking assembler for eh_frame optimization""... $ac_c" 1>&6
|
||||
echo "configure:6373: checking assembler for eh_frame optimization" >&5
|
||||
echo "configure:6381: checking assembler for eh_frame optimization" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_eh_frame'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -6412,7 +6420,7 @@ __FRAME_BEGIN__:
|
|||
.byte 0x4
|
||||
.4byte .L1-.LFB1
|
||||
.LEFDE1:' > conftest.s
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
cat > conftest.lit <<EOF
|
||||
0000 10000000 00000000 017a0001 781a0004 .........z..x...
|
||||
|
@ -6433,7 +6441,7 @@ EOF
|
|||
|| cmp conftest.big conftest.got > /dev/null 2>&1; }
|
||||
then
|
||||
gcc_cv_as_eh_frame=yes
|
||||
elif { ac_try='$gcc_cv_as -o conftest.o --traditional-format /dev/null'; { (eval echo configure:6437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
|
||||
elif { ac_try='$gcc_cv_as -o conftest.o --traditional-format /dev/null'; { (eval echo configure:6445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
|
||||
gcc_cv_as_eh_frame=buggy
|
||||
else
|
||||
# Uh oh, what do we do now?
|
||||
|
@ -6458,7 +6466,7 @@ EOF
|
|||
fi
|
||||
|
||||
echo $ac_n "checking assembler for section merging support""... $ac_c" 1>&6
|
||||
echo "configure:6462: checking assembler for section merging support" >&5
|
||||
echo "configure:6470: checking assembler for section merging support" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_shf_merge'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -6470,7 +6478,7 @@ else
|
|||
fi
|
||||
elif test x$gcc_cv_as != x; then
|
||||
echo '.section .rodata.str, "aMS", @progbits, 1' > conftest.s
|
||||
if { ac_try='$gcc_cv_as --fatal-warnings -o conftest.o conftest.s >&5'; { (eval echo configure:6474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as --fatal-warnings -o conftest.o conftest.s >&5'; { (eval echo configure:6482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
gcc_cv_as_shf_merge=yes
|
||||
else
|
||||
|
@ -6482,12 +6490,11 @@ fi
|
|||
fi
|
||||
|
||||
echo "$ac_t""$gcc_cv_as_shf_merge" 1>&6
|
||||
if test $gcc_cv_as_shf_merge = yes; then
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define HAVE_GAS_SHF_MERGE 1
|
||||
|
||||
cat >> confdefs.h <<EOF
|
||||
#define HAVE_GAS_SHF_MERGE `if test $gcc_cv_as_shf_merge = yes; then echo 1; else echo 0; fi`
|
||||
EOF
|
||||
|
||||
fi
|
||||
|
||||
# Thread-local storage - the check is heavily parametrized.
|
||||
conftest_s=
|
||||
|
@ -6696,7 +6703,7 @@ if test -z "$tls_first_major"; then
|
|||
: # If we don't have a check, assume no support.
|
||||
else
|
||||
echo $ac_n "checking assembler for thread-local storage support""... $ac_c" 1>&6
|
||||
echo "configure:6700: checking assembler for thread-local storage support" >&5
|
||||
echo "configure:6707: checking assembler for thread-local storage support" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_tls'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -6707,7 +6714,7 @@ else
|
|||
fi
|
||||
elif test x$gcc_cv_as != x; then
|
||||
echo "$conftest_s" > conftest.s
|
||||
if { ac_try='$gcc_cv_as $tls_as_opt --fatal-warnings -o conftest.o conftest.s >&5'; { (eval echo configure:6711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as $tls_as_opt --fatal-warnings -o conftest.o conftest.s >&5'; { (eval echo configure:6718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
gcc_cv_as_tls=yes
|
||||
else
|
||||
|
@ -6733,7 +6740,7 @@ case "$target" in
|
|||
# All TARGET_ABI_OSF targets.
|
||||
alpha*-*-osf* | alpha*-*-linux* | alpha*-*-*bsd*)
|
||||
echo $ac_n "checking assembler for explicit relocation support""... $ac_c" 1>&6
|
||||
echo "configure:6737: checking assembler for explicit relocation support" >&5
|
||||
echo "configure:6744: checking assembler for explicit relocation support" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_alpha_explicit_relocs'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -6756,7 +6763,7 @@ fi
|
|||
ldah $1, d($29) !gprelhigh
|
||||
lda $1, d($1) !gprellow
|
||||
lda $29, 0($29) !gpdisp!3' > conftest.s
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
gcc_cv_as_alpha_explicit_relocs=yes
|
||||
else
|
||||
|
@ -6778,14 +6785,14 @@ fi
|
|||
|
||||
sparc*-*-*)
|
||||
echo $ac_n "checking assembler for .register""... $ac_c" 1>&6
|
||||
echo "configure:6782: checking assembler for .register" >&5
|
||||
echo "configure:6789: checking assembler for .register" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_sparc_register_op'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
gcc_cv_as_sparc_register_op=no
|
||||
if test x$gcc_cv_as != x; then
|
||||
echo '.register %g2, #scratch' > conftest.s
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
gcc_cv_as_sparc_register_op=yes
|
||||
else
|
||||
|
@ -6805,14 +6812,14 @@ EOF
|
|||
fi
|
||||
|
||||
echo $ac_n "checking assembler for -relax option""... $ac_c" 1>&6
|
||||
echo "configure:6809: checking assembler for -relax option" >&5
|
||||
echo "configure:6816: checking assembler for -relax option" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_sparc_relax'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
gcc_cv_as_sparc_relax=no
|
||||
if test x$gcc_cv_as != x; then
|
||||
echo '.text' > conftest.s
|
||||
if { ac_try='$gcc_cv_as -relax -o conftest.o conftest.s >&5'; { (eval echo configure:6816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as -relax -o conftest.o conftest.s >&5'; { (eval echo configure:6823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
gcc_cv_as_sparc_relax=yes
|
||||
else
|
||||
|
@ -6832,7 +6839,7 @@ EOF
|
|||
fi
|
||||
|
||||
echo $ac_n "checking assembler for unaligned pcrel relocs""... $ac_c" 1>&6
|
||||
echo "configure:6836: checking assembler for unaligned pcrel relocs" >&5
|
||||
echo "configure:6843: checking assembler for unaligned pcrel relocs" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_sparc_ua_pcrel'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -6845,7 +6852,7 @@ foo:
|
|||
.align 4
|
||||
.byte 0
|
||||
.uaword %r_disp32(foo)' > conftest.s
|
||||
if { ac_try='$gcc_cv_as -K PIC -o conftest.o conftest.s >&5'; { (eval echo configure:6849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as -K PIC -o conftest.o conftest.s >&5'; { (eval echo configure:6856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
if test x$gcc_cv_ld != x \
|
||||
&& $gcc_cv_ld -o conftest conftest.o -G > /dev/null 2>&1; then
|
||||
|
@ -6868,7 +6875,7 @@ EOF
|
|||
|
||||
|
||||
echo $ac_n "checking assembler for unaligned pcrel relocs against hidden symbols""... $ac_c" 1>&6
|
||||
echo "configure:6872: checking assembler for unaligned pcrel relocs against hidden symbols" >&5
|
||||
echo "configure:6879: checking assembler for unaligned pcrel relocs against hidden symbols" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_sparc_ua_pcrel_hidden'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -6883,7 +6890,7 @@ else
|
|||
.hidden foo
|
||||
foo:
|
||||
.skip 4' > conftest.s
|
||||
if { ac_try='$gcc_cv_as -K PIC -o conftest.o conftest.s >&5'; { (eval echo configure:6887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as -K PIC -o conftest.o conftest.s >&5'; { (eval echo configure:6894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
if test x$gcc_cv_ld != x && test x$gcc_cv_objdump != x \
|
||||
&& $gcc_cv_ld -o conftest conftest.o -G > /dev/null 2>&1 \
|
||||
|
@ -6916,7 +6923,7 @@ fi
|
|||
fi # unaligned pcrel relocs
|
||||
|
||||
echo $ac_n "checking assembler for offsetable %lo()""... $ac_c" 1>&6
|
||||
echo "configure:6920: checking assembler for offsetable %lo()" >&5
|
||||
echo "configure:6927: checking assembler for offsetable %lo()" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_sparc_offsetable_lo10'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -6925,7 +6932,7 @@ else
|
|||
echo '.text
|
||||
or %g1, %lo(ab) + 12, %g1
|
||||
or %g1, %lo(ab + 12), %g1' > conftest.s
|
||||
if { ac_try='$gcc_cv_as -xarch=v9 -o conftest.o conftest.s >&5'; { (eval echo configure:6929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as -xarch=v9 -o conftest.o conftest.s >&5'; { (eval echo configure:6936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
if test x$gcc_cv_objdump != x \
|
||||
&& %gcc_cv_objdump -s -j .text conftest.o 2> /dev/null \
|
||||
|
@ -6951,7 +6958,7 @@ fi
|
|||
|
||||
i[34567]86-*-* | x86_64-*-*)
|
||||
echo $ac_n "checking assembler for filds and fists mnemonics""... $ac_c" 1>&6
|
||||
echo "configure:6955: checking assembler for filds and fists mnemonics" >&5
|
||||
echo "configure:6962: checking assembler for filds and fists mnemonics" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_ix86_filds_fists'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -6962,7 +6969,7 @@ else
|
|||
fi
|
||||
elif test x$gcc_cv_as != x; then
|
||||
echo 'filds mem; fists mem' > conftest.s
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
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; }; }
|
||||
then
|
||||
gcc_cv_as_ix86_filds_fists=yes
|
||||
else
|
||||
|
@ -6982,14 +6989,14 @@ EOF
|
|||
fi
|
||||
|
||||
echo $ac_n "checking assembler for cmov syntax""... $ac_c" 1>&6
|
||||
echo "configure:6986: checking assembler for cmov syntax" >&5
|
||||
echo "configure:6993: 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:6993: \"$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
|
||||
gcc_cv_as_ix86_cmov_sun_syntax=yes
|
||||
else
|
||||
|
@ -7011,7 +7018,7 @@ fi
|
|||
# This one is used unconditionally by i386.[ch]; it is to be defined
|
||||
# to 1 if the feature is present, 0 otherwise.
|
||||
echo $ac_n "checking assembler for GOTOFF in data""... $ac_c" 1>&6
|
||||
echo "configure:7015: checking assembler for GOTOFF in data" >&5
|
||||
echo "configure:7022: checking assembler for GOTOFF in data" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_ix86_gotoff_in_data'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -7026,7 +7033,7 @@ fi
|
|||
nop
|
||||
.data
|
||||
.long .L0@GOTOFF' > conftest.s
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
gcc_cv_as_ix86_gotoff_in_data=yes
|
||||
else
|
||||
|
@ -7047,7 +7054,7 @@ EOF
|
|||
|
||||
ia64*-*-*)
|
||||
echo $ac_n "checking assembler for ltoffx and ldxmov relocs""... $ac_c" 1>&6
|
||||
echo "configure:7051: checking assembler for ltoffx and ldxmov relocs" >&5
|
||||
echo "configure:7058: checking assembler for ltoffx and ldxmov relocs" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_ia64_ltoffx_ldxmov_relocs'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -7061,7 +7068,7 @@ fi
|
|||
addl r15 = @ltoffx(x#), gp
|
||||
;;
|
||||
ld8.mov r16 = [r15], x#' > conftest.s
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
gcc_cv_as_ia64_ltoffx_ldxmov_relocs=yes
|
||||
else
|
||||
|
@ -7091,7 +7098,7 @@ fi
|
|||
mfcr 3,128"
|
||||
|
||||
echo $ac_n "checking assembler for mfcr field support""... $ac_c" 1>&6
|
||||
echo "configure:7095: checking assembler for mfcr field support" >&5
|
||||
echo "configure:7102: checking assembler for mfcr field support" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_powerpc_mfcrf'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -7102,7 +7109,7 @@ else
|
|||
fi
|
||||
elif test x$gcc_cv_as != x; then
|
||||
echo "$conftest_s" > conftest.s
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
gcc_cv_as_powerpc_mfcrf=yes
|
||||
else
|
||||
|
@ -7124,7 +7131,7 @@ fi
|
|||
|
||||
mips*-*-*)
|
||||
echo $ac_n "checking assembler for explicit relocation support""... $ac_c" 1>&6
|
||||
echo "configure:7128: checking assembler for explicit relocation support" >&5
|
||||
echo "configure:7135: checking assembler for explicit relocation support" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_mips_explicit_relocs'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -7135,7 +7142,7 @@ else
|
|||
fi
|
||||
elif test x$gcc_cv_as != x; then
|
||||
echo ' lw $4,%gp_rel(foo)($4)' > conftest.s
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
gcc_cv_as_mips_explicit_relocs=yes
|
||||
else
|
||||
|
@ -7181,7 +7188,7 @@ if test x"$insn" != x; then
|
|||
.loc 1 3 0
|
||||
$insn"
|
||||
echo $ac_n "checking assembler for dwarf2 debug_line support""... $ac_c" 1>&6
|
||||
echo "configure:7185: checking assembler for dwarf2 debug_line support" >&5
|
||||
echo "configure:7192: checking assembler for dwarf2 debug_line support" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_dwarf2_debug_line'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -7193,7 +7200,7 @@ else
|
|||
fi
|
||||
elif test x$gcc_cv_as != x; then
|
||||
echo "$conftest_s" > conftest.s
|
||||
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; }; }
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
# ??? This fails with non-gnu grep. Maybe use objdump?
|
||||
if grep debug_line conftest.o > /dev/null 2>&1; then
|
||||
|
@ -7215,7 +7222,7 @@ echo "$ac_t""$gcc_cv_as_dwarf2_debug_line" 1>&6
|
|||
# by DW_AT_decl_file. Approximate this test by testing if
|
||||
# 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 "configure:7219: checking assembler for buggy dwarf2 .file directive" >&5
|
||||
echo "configure:7226: checking assembler for buggy dwarf2 .file directive" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_dwarf2_file_buggy'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -7223,7 +7230,7 @@ else
|
|||
if test x$gcc_cv_as != x; then
|
||||
echo ' .file 1 "foo.s"
|
||||
.file 1 "bar.s"' > conftest.s
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
gcc_cv_as_dwarf2_file_buggy=yes
|
||||
else
|
||||
|
@ -7246,7 +7253,7 @@ EOF
|
|||
fi
|
||||
|
||||
echo $ac_n "checking assembler for --gdwarf2 option""... $ac_c" 1>&6
|
||||
echo "configure:7250: checking assembler for --gdwarf2 option" >&5
|
||||
echo "configure:7257: checking assembler for --gdwarf2 option" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_gdwarf2_flag'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -7258,7 +7265,7 @@ else
|
|||
fi
|
||||
elif test x$gcc_cv_as != x; then
|
||||
echo "$insn" > conftest.s
|
||||
if { ac_try='$gcc_cv_as --gdwarf2 -o conftest.o conftest.s >&5'; { (eval echo configure:7262: \"$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:7269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
gcc_cv_as_gdwarf2_flag=yes
|
||||
else
|
||||
|
@ -7278,7 +7285,7 @@ EOF
|
|||
fi
|
||||
|
||||
echo $ac_n "checking assembler for --gstabs option""... $ac_c" 1>&6
|
||||
echo "configure:7282: checking assembler for --gstabs option" >&5
|
||||
echo "configure:7289: checking assembler for --gstabs option" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_gstabs_flag'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -7290,12 +7297,12 @@ else
|
|||
fi
|
||||
elif test x$gcc_cv_as != x; then
|
||||
echo "$insn" > conftest.s
|
||||
if { ac_try='$gcc_cv_as --gstabs -o conftest.o conftest.s >&5'; { (eval echo configure:7294: \"$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:7301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then
|
||||
# The native Solaris 9/Intel assembler doesn't understand --gstabs
|
||||
# and warns about it, but still exits successfully. So check for
|
||||
# this.
|
||||
if { ac_try='$gcc_cv_as --gstabs -o conftest.o conftest.s 2>&1 | grep -i warning > /dev/null'; { (eval echo configure:7299: \"$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:7306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
|
||||
then :
|
||||
else gcc_cv_as_gstabs_flag=yes
|
||||
fi
|
||||
|
@ -7317,7 +7324,7 @@ fi
|
|||
fi
|
||||
|
||||
echo $ac_n "checking linker read-only and read-write section mixing""... $ac_c" 1>&6
|
||||
echo "configure:7321: checking linker read-only and read-write section mixing" >&5
|
||||
echo "configure:7328: checking linker read-only and read-write section mixing" >&5
|
||||
gcc_cv_ld_ro_rw_mix=unknown
|
||||
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 \
|
||||
|
@ -7356,7 +7363,7 @@ fi
|
|||
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 "configure:7360: checking linker PT_GNU_EH_FRAME support" >&5
|
||||
echo "configure:7367: checking linker PT_GNU_EH_FRAME support" >&5
|
||||
gcc_cv_ld_eh_frame_hdr=no
|
||||
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 \
|
||||
|
@ -7378,7 +7385,7 @@ fi
|
|||
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 "configure:7382: checking linker position independent executable support" >&5
|
||||
echo "configure:7389: checking linker position independent executable support" >&5
|
||||
gcc_cv_ld_pie=no
|
||||
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 \
|
||||
|
@ -7403,7 +7410,7 @@ echo "$ac_t""$gcc_cv_ld_pie" 1>&6
|
|||
case "$target" in
|
||||
mips*-*-*)
|
||||
echo $ac_n "checking whether libgloss uses STARTUP directives consistently""... $ac_c" 1>&6
|
||||
echo "configure:7407: checking whether libgloss uses STARTUP directives consistently" >&5
|
||||
echo "configure:7414: checking whether libgloss uses STARTUP directives consistently" >&5
|
||||
gcc_cv_mips_libgloss_startup=no
|
||||
gcc_cv_libgloss_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/libgloss
|
||||
if test "x$exec_prefix" = xNONE; then
|
||||
|
@ -7605,7 +7612,7 @@ fi
|
|||
|
||||
|
||||
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
|
||||
echo "configure:7609: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
||||
echo "configure:7616: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
||||
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
||||
if test "${enable_maintainer_mode+set}" = set; then
|
||||
enableval="$enable_maintainer_mode"
|
||||
|
|
Loading…
Add table
Reference in a new issue