OSDN Git Service

2002-08-02 Eric Christopher <echristo@redhat.com>
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Aug 2002 20:22:35 +0000 (20:22 +0000)
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Aug 2002 20:22:35 +0000 (20:22 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55998 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc
gcc/config/mips/mips.h

index 66faa85..42bdaa0 100644 (file)
@@ -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
index 127ae91..a8fd079 100644 (file)
@@ -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"
index 7bdee66..7db4f9e 100644 (file)
@@ -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