From 11fa8909c85bed080170156ffef07bbeb53e7f84 Mon Sep 17 00:00:00 2001 From: Robert Lipe Date: Mon, 7 Dec 1998 22:58:57 +0000 Subject: [PATCH] configure.in (mips*-*-linux*): Handle big and little endian systems. * configure.in (mips*-*-linux*): Handle big and little endian systems. * configure: Rebuilt. From-SVN: r24172 --- gcc/ChangeLog | 6 ++++++ gcc/configure.in | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-) 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