aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 19bcad2..14fba7c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
+
+ * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Define
+ only if not already defined.
+
2002-05-29 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300-protos.h: Remove prototypes for
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 0e65a98..2a74068 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -4500,7 +4500,9 @@ 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
#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. */