aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Christopher <echristo@redhat.com>2002-08-02 20:22:35 +0000
committerEric Christopher <echristo@gcc.gnu.org>2002-08-02 20:22:35 +0000
commit2017ed61d3b7f1563b260f448a12d8db02697ca4 (patch)
tree650141c3763a508eba6c93ffd2717e4898ef14c3
parentd00675714f860ec5bf0360928f73abd1d514b96d (diff)
downloadgcc-2017ed61d3b7f1563b260f448a12d8db02697ca4.zip
gcc-2017ed61d3b7f1563b260f448a12d8db02697ca4.tar.gz
gcc-2017ed61d3b7f1563b260f448a12d8db02697ca4.tar.bz2
config.gcc (mips*-*-linux*): Fix ordering of tm_file.
2002-08-02 Eric Christopher <echristo@redhat.com> * config.gcc (mips*-*-linux*): Fix ordering of tm_file. * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change #ifndef to #undef. (TARGET_MEM_FUNCTIONS): Define instead of define to 1. From-SVN: r55998
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config.gcc2
-rw-r--r--gcc/config/mips/mips.h7
3 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 66faa85..42bdaa0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2002-08-02 Eric Christopher <echristo@redhat.com>
+
+ * config.gcc (mips*-*-linux*): Fix ordering of tm_file.
+ * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change
+ #ifndef to #undef.
+ (TARGET_MEM_FUNCTIONS): Define instead of define to 1.
+
2002-08-02 David Edelsohn <edelsohn@gnu.org>
PR optimize/7067
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 127ae91..a8fd079 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1866,7 +1866,7 @@ mips*-*-netbsd*) # NetBSD/mips, either endian.
tmake_file="${tmake_file} mips/t-netbsd"
;;
mips*-*-linux*) # Linux MIPS, either endian.
- tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h mips/linux.h"
+ tm_file="dbxelf.h elfos.h svr4.h linux.h ${tm_file} mips/linux.h"
case $machine in
mipsisa32*-*)
target_cpu_default="MASK_SOFT_FLOAT"
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 7bdee66..7db4f9e 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -4408,9 +4408,10 @@ do { \
#define TEXT_SECTION_ASM_OP "\t.text" /* instructions */
#define DATA_SECTION_ASM_OP "\t.data" /* large data */
#define SDATA_SECTION_ASM_OP "\t.sdata" /* small data */
-#ifndef READONLY_DATA_SECTION_ASM_OP
+
+#undef READONLY_DATA_SECTION_ASM_OP
#define READONLY_DATA_SECTION_ASM_OP "\t.rdata" /* read-only data */
-#endif
+
#define SMALL_DATA_SECTION sdata_section
/* What other sections we support other than the normal .data/.text. */
@@ -4609,4 +4610,4 @@ while (0)
unsigned short SFlittlenan[2] = {0xffff, 0xffbf}
/* Generate calls to memcpy, etc., not bcopy, etc. */
-#define TARGET_MEM_FUNCTIONS 1
+#define TARGET_MEM_FUNCTIONS