aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-05-04 23:10:00 +0000
committerRichard Stallman <rms@gnu.org>1992-05-04 23:10:00 +0000
commit7c6d68c8c4e94d1b230a93f7952e36e0547f88ed (patch)
tree366db63a3c07d13e66836a612f3ec47dc54327dc
parent6336436e0657638a62683444a41c27a234f640df (diff)
downloadgcc-7c6d68c8c4e94d1b230a93f7952e36e0547f88ed.zip
gcc-7c6d68c8c4e94d1b230a93f7952e36e0547f88ed.tar.gz
gcc-7c6d68c8c4e94d1b230a93f7952e36e0547f88ed.tar.bz2
*** empty log message ***
From-SVN: r891
-rwxr-xr-xgcc/config.sub7
-rw-r--r--gcc/varasm.c26
2 files changed, 18 insertions, 15 deletions
diff --git a/gcc/config.sub b/gcc/config.sub
index 2bfef02..e40e14d 100755
--- a/gcc/config.sub
+++ b/gcc/config.sub
@@ -78,7 +78,7 @@ case $basic_machine in
# Recognize the basic CPU types with without company name.
# Some are omitted here because they have special meanings below.
tahoe | i[34]86 | i860 | m68k | m68000 | m88k | ns32k | arm | pyramid \
- | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1)
+ | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 | we32)
basic_machine=$basic_machine-unknown
;;
# Recognize the basic CPU types with with company name.
@@ -86,7 +86,7 @@ case $basic_machine in
| sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
| none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \
- | hppa1.0-* | hppa1.1-*)
+ | hppa1.0-* | hppa1.1-* | we32-*)
;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
@@ -176,6 +176,9 @@ case $basic_machine in
3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
basic_machine=m68000-att
;;
+ 3b*)
+ basic_machine=we32-att
+ ;;
delta | 3300 | motorola-3300 | motorola-delta \
| 3300-motorola | delta-motorola)
basic_machine=m68k-motorola
diff --git a/gcc/varasm.c b/gcc/varasm.c
index fad4864..da4849e 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -109,19 +109,6 @@ text_section ()
}
}
-/* Tell assembler to switch to read-only data section. This is normally
- the text section. */
-
-void
-readonly_data_section ()
-{
-#ifdef READONLY_DATA_SECTION
- READONLY_DATA_SECTION ();
-#else
- text_section ();
-#endif
-}
-
/* Tell assembler to switch to data section. */
void
@@ -144,6 +131,19 @@ data_section ()
}
}
+/* Tell assembler to switch to read-only data section. This is normally
+ the text section. */
+
+void
+readonly_data_section ()
+{
+#ifdef READONLY_DATA_SECTION
+ READONLY_DATA_SECTION (); /* Note this can call data_section. */
+#else
+ text_section ();
+#endif
+}
+
/* Determine if we're in the text section. */
int