configure.in (mips*-*-linux*): Handle big and little endian systems.
authorRobert Lipe <robertl@dgii.com>
Mon, 7 Dec 1998 22:58:57 +0000 (22:58 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 7 Dec 1998 22:58:57 +0000 (15:58 -0700)
        * configure.in (mips*-*-linux*): Handle big and little endian
        systems.
        * configure: Rebuilt.

From-SVN: r24172

gcc/ChangeLog
gcc/configure.in

index 0ba5ad2bc1d463cb17fca6cdc0fd3e35144578c0..15ada9af673b8c71dd69e619e3c355cd123f51d4 100644 (file)
@@ -1,3 +1,9 @@
+Mon Dec  7 23:56:28 1998   Robert Lipe  <robertl@dgii.com>
+
+       * configure.in (mips*-*-linux*): Handle big and little endian
+       systems.
+       * configure: Rebuilt.
+
 Mon Dec  7 23:14:51 1998  Mike Stump <mrs@wrs.com>
 
        * emit-rtl.c: Fix typo.
index cbde7ebbb1032700f5fd7a1e8b0968184cb67789..b05578f3600434420441068ec1dd552fc0cd7006 100644 (file)
@@ -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