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
This commit is contained in:
Eric Christopher 2002-08-02 20:22:35 +00:00 committed by Eric Christopher
parent d00675714f
commit 2017ed61d3
3 changed files with 12 additions and 4 deletions

View 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

View 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"

View 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