diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0ba5ad2bc1d..15ada9af673 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Mon Dec 7 23:56:28 1998 Robert Lipe + + * configure.in (mips*-*-linux*): Handle big and little endian + systems. + * configure: Rebuilt. + Mon Dec 7 23:14:51 1998 Mike Stump * emit-rtl.c: Fix typo. diff --git a/gcc/configure.in b/gcc/configure.in index cbde7ebbb10..b05578f3600 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -2285,10 +2285,13 @@ changequote([,])dnl fixincludes=fixinc.wrap tmake_file=t-netbsd ;; - mipsel-*-linux*) # Little endian Linux MIPS + mips*-*-linux*) # Linux MIPS, either endian. xmake_file=x-linux xm_file="xm-siglist.h ${xm_file}" - tm_file="mips/elfl.h mips/linux.h" + case $machine in + mipsel-*) tm_file="mips/elfl.h mips/linux.h" ;; + *) tm_file="mips/elf.h mips/linux.h" ;; + esac extra_parts="crtbegin.o crtend.o" gnu_ld=yes gas=yes