aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Demetriou <cgd@broadcom.com>2002-07-02 23:26:45 +0000
committerChris Demetriou <cgd@gcc.gnu.org>2002-07-02 16:26:45 -0700
commit9bb46191b454e5d8b7b7be1bad7403c4139b591b (patch)
treef221dd9577c4f9388ed06ba0aea8b287e0952537
parent31e25abd9168ec49477284247c5f322f68b5385e (diff)
downloadgcc-9bb46191b454e5d8b7b7be1bad7403c4139b591b.zip
gcc-9bb46191b454e5d8b7b7be1bad7403c4139b591b.tar.gz
gcc-9bb46191b454e5d8b7b7be1bad7403c4139b591b.tar.bz2
config.gcc (mips*el-*-*): Use tm_defines to set TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
2002-07-02 Chris Demetriou <cgd@broadcom.com> * config.gcc (mips*el-*-*): Use tm_defines to set TARGET_ENDIAN_DEFAULT, rather than including mips/little.h. * config/mips/little.h: Remove. From-SVN: r55200
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config.gcc2
-rw-r--r--gcc/config/mips/little.h22
3 files changed, 7 insertions, 23 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2f37ae6..245e83d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2002-07-02 Chris Demetriou <cgd@broadcom.com>
+
+ * config.gcc (mips*el-*-*): Use tm_defines to set
+ TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
+ * config/mips/little.h: Remove.
+
2002-07-02 Devang Patel <dpatel@apple.com>
* objc/objc-act.c (adjust_type_for_id_default): Do not allow an
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 8f4d2fb..10a75c8 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2886,7 +2886,7 @@ mips*-*-*)
esac
case $machine in
mips*el-*-*)
- tm_file="mips/little.h ${tm_file}"
+ tm_defines="TARGET_ENDIAN_DEFAULT=0 $tm_defines"
;;
esac
;;
diff --git a/gcc/config/mips/little.h b/gcc/config/mips/little.h
deleted file mode 100644
index bbbabf4..0000000
--- a/gcc/config/mips/little.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Definition of little endian mips machine for GNU compiler.
-
- Copyright (C) 2001 Free Software Foundation, Inc.
-
-This file is part of GNU CC.
-
-GNU CC is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU CC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU CC; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-#define TARGET_ENDIAN_DEFAULT 0