* configure.in: Use ELF for mips-*-gnu*.
* configure: Rebuild.
This commit is contained in:
parent
ca37421ec4
commit
6d65a06574
|
@ -1,3 +1,8 @@
|
|||
Mon Mar 31 14:15:19 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* configure.in: Use ELF for mips-*-gnu*.
|
||||
* configure: Rebuild.
|
||||
|
||||
Mon Mar 31 14:01:40 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
|
||||
|
||||
* config/tc-m68k.h (TARGET_FORMAT): Set to "coff-m68k-sysv" if
|
||||
|
|
|
@ -881,19 +881,13 @@ for this_target in $target $canon_targets ; do
|
|||
esac
|
||||
;;
|
||||
mips-*-ecoff*) fmt=ecoff targ=mips-big ;;
|
||||
mips-*-gnu*) fmt=aout
|
||||
case "$endian" in
|
||||
big) targ=mips-big ;;
|
||||
*) targ=mips-lit ;;
|
||||
esac
|
||||
;;
|
||||
mips-*-irix6*) fmt=elf targ=mips-big ;;
|
||||
mips-*-irix5*) fmt=elf targ=mips-big ;;
|
||||
mips-*-irix*) fmt=ecoff targ=mips-big ;;
|
||||
mips-*-lnews*) fmt=ecoff targ=mips-lit em=lnews ;;
|
||||
mips-*-riscos*) fmt=ecoff targ=mips-big ;;
|
||||
mips-*-sysv*) fmt=ecoff targ=mips-big ;;
|
||||
mips-*-elf* | mips-*-rtems* | mips-*-linux*)
|
||||
mips-*-elf* | mips-*-rtems* | mips-*-linux* | mips-*-gnu*)
|
||||
fmt=elf
|
||||
case "$endian" in
|
||||
big) targ=mips-big ;;
|
||||
|
@ -1441,7 +1435,7 @@ EOF
|
|||
# Extract the first word of "gcc", so it can be a program name with args.
|
||||
set dummy gcc; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
echo "configure:1445: checking for $ac_word" >&5
|
||||
echo "configure:1439: checking for $ac_word" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -1470,7 +1464,7 @@ if test -z "$CC"; then
|
|||
# Extract the first word of "cc", so it can be a program name with args.
|
||||
set dummy cc; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
echo "configure:1474: checking for $ac_word" >&5
|
||||
echo "configure:1468: checking for $ac_word" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -1518,7 +1512,7 @@ fi
|
|||
fi
|
||||
|
||||
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
||||
echo "configure:1522: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
||||
echo "configure:1516: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
||||
|
||||
ac_ext=c
|
||||
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
||||
|
@ -1528,11 +1522,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS
|
|||
cross_compiling=$ac_cv_prog_cc_cross
|
||||
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1532 "configure"
|
||||
#line 1526 "configure"
|
||||
#include "confdefs.h"
|
||||
main(){return(0);}
|
||||
EOF
|
||||
if { (eval echo configure:1536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:1530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
ac_cv_prog_cc_works=yes
|
||||
# If we can't run a trivial program, we are probably using a cross compiler.
|
||||
if (./conftest; exit) 2>/dev/null; then
|
||||
|
@ -1552,12 +1546,12 @@ if test $ac_cv_prog_cc_works = no; then
|
|||
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
|
||||
fi
|
||||
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
||||
echo "configure:1556: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
||||
echo "configure:1550: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
||||
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
||||
cross_compiling=$ac_cv_prog_cc_cross
|
||||
|
||||
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
|
||||
echo "configure:1561: checking whether we are using GNU C" >&5
|
||||
echo "configure:1555: checking whether we are using GNU C" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -1566,7 +1560,7 @@ else
|
|||
yes;
|
||||
#endif
|
||||
EOF
|
||||
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
||||
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
||||
ac_cv_prog_gcc=yes
|
||||
else
|
||||
ac_cv_prog_gcc=no
|
||||
|
@ -1581,7 +1575,7 @@ if test $ac_cv_prog_gcc = yes; then
|
|||
ac_save_CFLAGS="$CFLAGS"
|
||||
CFLAGS=
|
||||
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
||||
echo "configure:1585: checking whether ${CC-cc} accepts -g" >&5
|
||||
echo "configure:1579: checking whether ${CC-cc} accepts -g" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -1619,7 +1613,7 @@ fi
|
|||
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
||||
# ./install, which can be erroneously created by make from ./install.sh.
|
||||
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
||||
echo "configure:1623: checking for a BSD compatible install" >&5
|
||||
echo "configure:1617: checking for a BSD compatible install" >&5
|
||||
if test -z "$INSTALL"; then
|
||||
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -1670,7 +1664,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|||
|
||||
|
||||
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
||||
echo "configure:1674: checking how to run the C preprocessor" >&5
|
||||
echo "configure:1668: checking how to run the C preprocessor" >&5
|
||||
# On Suns, sometimes $CPP names a directory.
|
||||
if test -n "$CPP" && test -d "$CPP"; then
|
||||
CPP=
|
||||
|
@ -1685,13 +1679,13 @@ else
|
|||
# On the NeXT, cc -E runs the code through the compiler's parser,
|
||||
# not just through cpp.
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1689 "configure"
|
||||
#line 1683 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <assert.h>
|
||||
Syntax Error
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:1695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:1689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out`
|
||||
if test -z "$ac_err"; then
|
||||
:
|
||||
|
@ -1702,13 +1696,13 @@ else
|
|||
rm -rf conftest*
|
||||
CPP="${CC-cc} -E -traditional-cpp"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1706 "configure"
|
||||
#line 1700 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <assert.h>
|
||||
Syntax Error
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:1712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:1706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out`
|
||||
if test -z "$ac_err"; then
|
||||
:
|
||||
|
@ -1734,17 +1728,17 @@ for ac_hdr in string.h stdlib.h memory.h strings.h unistd.h stdarg.h varargs.h e
|
|||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
echo "configure:1738: checking for $ac_hdr" >&5
|
||||
echo "configure:1732: checking for $ac_hdr" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1743 "configure"
|
||||
#line 1737 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:1748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:1742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
|
@ -1774,7 +1768,7 @@ done
|
|||
# Put this here so that autoconf's "cross-compiling" message doesn't confuse
|
||||
# people who are not cross-compiling but are compiling cross-assemblers.
|
||||
echo $ac_n "checking whether compiling a cross-assembler""... $ac_c" 1>&6
|
||||
echo "configure:1778: checking whether compiling a cross-assembler" >&5
|
||||
echo "configure:1772: checking whether compiling a cross-assembler" >&5
|
||||
if test "${host}" = "${target}"; then
|
||||
cross_gas=no
|
||||
else
|
||||
|
@ -1789,19 +1783,19 @@ echo "$ac_t""$cross_gas" 1>&6
|
|||
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
||||
# for constant arguments. Useless!
|
||||
echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
|
||||
echo "configure:1793: checking for working alloca.h" >&5
|
||||
echo "configure:1787: checking for working alloca.h" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1798 "configure"
|
||||
#line 1792 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <alloca.h>
|
||||
int main() {
|
||||
char *p = alloca(2 * sizeof(int));
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:1805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:1799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
ac_cv_header_alloca_h=yes
|
||||
else
|
||||
|
@ -1822,12 +1816,12 @@ EOF
|
|||
fi
|
||||
|
||||
echo $ac_n "checking for alloca""... $ac_c" 1>&6
|
||||
echo "configure:1826: checking for alloca" >&5
|
||||
echo "configure:1820: checking for alloca" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1831 "configure"
|
||||
#line 1825 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
@ -1850,7 +1844,7 @@ int main() {
|
|||
char *p = (char *) alloca(1);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:1854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:1848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
ac_cv_func_alloca_works=yes
|
||||
else
|
||||
|
@ -1882,12 +1876,12 @@ EOF
|
|||
|
||||
|
||||
echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
|
||||
echo "configure:1886: checking whether alloca needs Cray hooks" >&5
|
||||
echo "configure:1880: checking whether alloca needs Cray hooks" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1891 "configure"
|
||||
#line 1885 "configure"
|
||||
#include "confdefs.h"
|
||||
#if defined(CRAY) && ! defined(CRAY2)
|
||||
webecray
|
||||
|
@ -1912,12 +1906,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
|
|||
if test $ac_cv_os_cray = yes; then
|
||||
for ac_func in _getb67 GETB67 getb67; do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
echo "configure:1916: checking for $ac_func" >&5
|
||||
echo "configure:1910: checking for $ac_func" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1921 "configure"
|
||||
#line 1915 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char $ac_func(); below. */
|
||||
|
@ -1940,7 +1934,7 @@ $ac_func();
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:1944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:1938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=yes"
|
||||
else
|
||||
|
@ -1967,7 +1961,7 @@ done
|
|||
fi
|
||||
|
||||
echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
|
||||
echo "configure:1971: checking stack direction for C alloca" >&5
|
||||
echo "configure:1965: checking stack direction for C alloca" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -1975,7 +1969,7 @@ else
|
|||
ac_cv_c_stack_direction=0
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1979 "configure"
|
||||
#line 1973 "configure"
|
||||
#include "confdefs.h"
|
||||
find_stack_direction ()
|
||||
{
|
||||
|
@ -1994,7 +1988,7 @@ main ()
|
|||
exit (find_stack_direction() < 0);
|
||||
}
|
||||
EOF
|
||||
if { (eval echo configure:1998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:1992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
ac_cv_c_stack_direction=1
|
||||
else
|
||||
|
@ -2016,21 +2010,21 @@ EOF
|
|||
fi
|
||||
|
||||
echo $ac_n "checking for inline""... $ac_c" 1>&6
|
||||
echo "configure:2020: checking for inline" >&5
|
||||
echo "configure:2014: checking for inline" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
ac_cv_c_inline=no
|
||||
for ac_kw in inline __inline__ __inline; do
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2027 "configure"
|
||||
#line 2021 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
int main() {
|
||||
} $ac_kw foo() {
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_c_inline=$ac_kw; break
|
||||
else
|
||||
|
@ -2060,12 +2054,12 @@ esac
|
|||
for ac_func in unlink remove
|
||||
do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
echo "configure:2064: checking for $ac_func" >&5
|
||||
echo "configure:2058: checking for $ac_func" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2069 "configure"
|
||||
#line 2063 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char $ac_func(); below. */
|
||||
|
@ -2088,7 +2082,7 @@ $ac_func();
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:2086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=yes"
|
||||
else
|
||||
|
@ -2117,12 +2111,12 @@ done
|
|||
for ac_func in sbrk
|
||||
do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
echo "configure:2121: checking for $ac_func" >&5
|
||||
echo "configure:2115: checking for $ac_func" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2126 "configure"
|
||||
#line 2120 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char $ac_func(); below. */
|
||||
|
@ -2145,7 +2139,7 @@ $ac_func();
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:2143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=yes"
|
||||
else
|
||||
|
@ -2174,12 +2168,12 @@ done
|
|||
# enough, but on some of those systems, the assert macro relies on requoting
|
||||
# working properly!
|
||||
echo $ac_n "checking for working assert macro""... $ac_c" 1>&6
|
||||
echo "configure:2178: checking for working assert macro" >&5
|
||||
echo "configure:2172: checking for working assert macro" >&5
|
||||
if eval "test \"`echo '$''{'gas_cv_assert_ok'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2183 "configure"
|
||||
#line 2177 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
@ -2195,7 +2189,7 @@ assert (a == b
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:2193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
gas_cv_assert_ok=yes
|
||||
else
|
||||
|
@ -2236,12 +2230,12 @@ gas_test_headers="
|
|||
"
|
||||
|
||||
echo $ac_n "checking whether declaration is required for strstr""... $ac_c" 1>&6
|
||||
echo "configure:2240: checking whether declaration is required for strstr" >&5
|
||||
echo "configure:2234: checking whether declaration is required for strstr" >&5
|
||||
if eval "test \"`echo '$''{'gas_cv_decl_needed_strstr'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2245 "configure"
|
||||
#line 2239 "configure"
|
||||
#include "confdefs.h"
|
||||
$gas_test_headers
|
||||
int main() {
|
||||
|
@ -2252,7 +2246,7 @@ x = (f) strstr;
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:2250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
gas_cv_decl_needed_strstr=no
|
||||
else
|
||||
|
@ -2273,12 +2267,12 @@ EOF
|
|||
|
||||
|
||||
echo $ac_n "checking whether declaration is required for malloc""... $ac_c" 1>&6
|
||||
echo "configure:2277: checking whether declaration is required for malloc" >&5
|
||||
echo "configure:2271: checking whether declaration is required for malloc" >&5
|
||||
if eval "test \"`echo '$''{'gas_cv_decl_needed_malloc'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2282 "configure"
|
||||
#line 2276 "configure"
|
||||
#include "confdefs.h"
|
||||
$gas_test_headers
|
||||
int main() {
|
||||
|
@ -2289,7 +2283,7 @@ x = (f) malloc;
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:2287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
gas_cv_decl_needed_malloc=no
|
||||
else
|
||||
|
@ -2310,12 +2304,12 @@ EOF
|
|||
|
||||
|
||||
echo $ac_n "checking whether declaration is required for free""... $ac_c" 1>&6
|
||||
echo "configure:2314: checking whether declaration is required for free" >&5
|
||||
echo "configure:2308: checking whether declaration is required for free" >&5
|
||||
if eval "test \"`echo '$''{'gas_cv_decl_needed_free'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2319 "configure"
|
||||
#line 2313 "configure"
|
||||
#include "confdefs.h"
|
||||
$gas_test_headers
|
||||
int main() {
|
||||
|
@ -2326,7 +2320,7 @@ x = (f) free;
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:2324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
gas_cv_decl_needed_free=no
|
||||
else
|
||||
|
@ -2347,12 +2341,12 @@ EOF
|
|||
|
||||
|
||||
echo $ac_n "checking whether declaration is required for sbrk""... $ac_c" 1>&6
|
||||
echo "configure:2351: checking whether declaration is required for sbrk" >&5
|
||||
echo "configure:2345: checking whether declaration is required for sbrk" >&5
|
||||
if eval "test \"`echo '$''{'gas_cv_decl_needed_sbrk'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2356 "configure"
|
||||
#line 2350 "configure"
|
||||
#include "confdefs.h"
|
||||
$gas_test_headers
|
||||
int main() {
|
||||
|
@ -2363,7 +2357,7 @@ x = (f) sbrk;
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:2361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
gas_cv_decl_needed_sbrk=no
|
||||
else
|
||||
|
@ -2387,12 +2381,12 @@ EOF
|
|||
# for it?
|
||||
|
||||
echo $ac_n "checking whether declaration is required for errno""... $ac_c" 1>&6
|
||||
echo "configure:2391: checking whether declaration is required for errno" >&5
|
||||
echo "configure:2385: checking whether declaration is required for errno" >&5
|
||||
if eval "test \"`echo '$''{'gas_cv_decl_needed_errno'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2396 "configure"
|
||||
#line 2390 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#ifdef HAVE_ERRNO_H
|
||||
|
@ -2407,7 +2401,7 @@ x = (f) errno;
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:2405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
gas_cv_decl_needed_errno=no
|
||||
else
|
||||
|
|
|
@ -224,19 +224,13 @@ changequote([,])dnl
|
|||
esac
|
||||
;;
|
||||
mips-*-ecoff*) fmt=ecoff targ=mips-big ;;
|
||||
mips-*-gnu*) fmt=aout
|
||||
case "$endian" in
|
||||
big) targ=mips-big ;;
|
||||
*) targ=mips-lit ;;
|
||||
esac
|
||||
;;
|
||||
mips-*-irix6*) fmt=elf targ=mips-big ;;
|
||||
mips-*-irix5*) fmt=elf targ=mips-big ;;
|
||||
mips-*-irix*) fmt=ecoff targ=mips-big ;;
|
||||
mips-*-lnews*) fmt=ecoff targ=mips-lit em=lnews ;;
|
||||
mips-*-riscos*) fmt=ecoff targ=mips-big ;;
|
||||
mips-*-sysv*) fmt=ecoff targ=mips-big ;;
|
||||
mips-*-elf* | mips-*-rtems* | mips-*-linux*)
|
||||
mips-*-elf* | mips-*-rtems* | mips-*-linux* | mips-*-gnu*)
|
||||
fmt=elf
|
||||
case "$endian" in
|
||||
big) targ=mips-big ;;
|
||||
|
|
Loading…
Reference in New Issue