From 2017ed61d3b7f1563b260f448a12d8db02697ca4 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 2 Aug 2002 20:22:35 +0000 Subject: [PATCH] config.gcc (mips*-*-linux*): Fix ordering of tm_file. 2002-08-02 Eric Christopher * 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 --- gcc/ChangeLog | 7 +++++++ gcc/config.gcc | 2 +- gcc/config/mips/mips.h | 7 ++++--- 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 + + * 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 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 -- 2.7.4