aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@wasabisystems.com>2002-05-30 01:49:57 +0000
committerJason Thorpe <thorpej@gcc.gnu.org>2002-05-30 01:49:57 +0000
commit50efa73711cfb4e3c9fd0b52dab7bea769915d31 (patch)
treebb05242ab67a649fe7aa87e54ad304b83642daa7
parent2e760b15f0cc7f1f0048fa997d225bb7c927b8ac (diff)
downloadgcc-50efa73711cfb4e3c9fd0b52dab7bea769915d31.zip
gcc-50efa73711cfb4e3c9fd0b52dab7bea769915d31.tar.gz
gcc-50efa73711cfb4e3c9fd0b52dab7bea769915d31.tar.bz2
mips.h (READONLY_DATA_SECTION_ASM_OP): Define only if not already defined.
* config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Define only if not already defined. From-SVN: r54038
-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. */