From: Eric Christopher Date: Fri, 2 Aug 2002 20:22:35 +0000 (+0000) Subject: config.gcc (mips*-*-linux*): Fix ordering of tm_file. X-Git-Tag: releases/gcc-3.3.0~3459 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2017ed61d3b7f1563b260f448a12d8db02697ca4;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 66faa85dc0ff..42bdaa0b0502 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 127ae9107524..a8fd079ee272 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 7bdee66074f8..7db4f9e0b234 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