aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>1992-02-21 22:04:24 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1992-02-21 22:04:24 +0000
commitcdd29d6fc950871512603476a31c2c39461d76a5 (patch)
treedefcb109803218d3d7e75541b161a98a41629c98 /gcc
parent4f5a1f77343b3c32468044c087a9d8475c7e4d04 (diff)
downloadgcc-cdd29d6fc950871512603476a31c2c39461d76a5.zip
gcc-cdd29d6fc950871512603476a31c2c39461d76a5.tar.gz
gcc-cdd29d6fc950871512603476a31c2c39461d76a5.tar.bz2
*** empty log message ***
From-SVN: r355
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/mips/osfrose.h102
1 files changed, 43 insertions, 59 deletions
diff --git a/gcc/config/mips/osfrose.h b/gcc/config/mips/osfrose.h
index 9c6092f..09fafdc 100644
--- a/gcc/config/mips/osfrose.h
+++ b/gcc/config/mips/osfrose.h
@@ -20,55 +20,49 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define DECSTATION
#define OSF_OS
+#include "halfpic.h"
+
#define CPP_PREDEFINES "-DOSF -DOSF1 -Dbsd4_2 -DMIPSEL -Dhost_mips -Dmips -Dunix -DR3000 -DSYSTYPE_BSD"
-#define ASM_SPEC "%{mmips-as: \
- %{pipe:%e:-pipe not supported} \
- %{EL} %{!EL:-EL} \
- %{EB: %e-EB not supported} \
- %{!mrnames: -nocpp} \
- %{O:-O2} %{O1:-O2} %{O2:-O2} %{O3:-O3} \
- %{g} %{g0} %{g1} %{g2} %{g3} \
- %{K} %{Q}} \
- %{v*: -v} \
- %{G*}"
-
-#define ASM_FINAL_SPEC "%{mmips-as: %{!mno-mips-tfile: \
- \n mips-tfile %{v*: -v} %{d*} \
- %{K: -I %b.o~} \
- %{!K: %{save-temps: -I %b.o~}} \
- %{c:%W{o*}%{!o*:-o %b.o}}%{!c:-o %b.o} \
- %{.s:%i} %{!.s:%g.s}}}"
-
-#define CPP_SPEC "%{.S: -D__LANGUAGE_ASSEMBLY__ \
- -D_LANGUAGE_ASSEMBLY \
- %{!ansi:-DLANGUAGE_ASSEMBLY}} \
- %{.cc: -D__LANGUAGE_C_PLUS_PLUS__ \
- -D_LANGUAGE_C_PLUS_PLUS \
- %{!ansi:-DLANGUAGE_C_PLUS_PLUS}} \
- %{.cxx:-D__LANGUAGE_C_PLUS_PLUS__ \
- -D_LANGUAGE_C_PLUS_PLUS \
- %{!ansi:-DLANGUAGE_C_PLUS_PLUS}} \
- %{.C: -D__LANGUAGE_C_PLUS_PLUS__ \
- -D_LANGUAGE_C_PLUS_PLUS \
- %{!ansi:-DLANGUAGE_C_PLUS_PLUS}} \
- %{.m: -D__LANGUAGE_OBJECTIVE_C__ \
- -D_LANGUAGE_OBJECTIVE_C \
- %{!ansi:-DLANGUAGE_OBJECTIVE_C}} \
- %{!.S: -D__LANGUAGE_C__ \
- -D_LANGUAGE_C \
- %{!ansi:-DLANGUAGE_C}}"
-
-#define LINK_SPEC "%{G*} \
- %{mmips-as: \
- %{EL} %{!EL: -EL} \
- %{EB: %e-EB not supported} \
- %{bestGnum}} \
- %{!mmips-as: \
- %{v*: -v} \
- %{pic-none: -noshrlib} %{noshrlib} \
- %{!pic-none: -warn_nopic} \
- %{nostdlib} %{glue}}"
+#define ASM_SPEC "\
+%{mmips-as: \
+ %{pipe:%e:-pipe not supported} \
+ %{EL} %{!EL:-EL} \
+ %{EB: %e-EB not supported} \
+ %{!mrnames: -nocpp} \
+ %{O:-O2} %{O1:-O2} %{O2:-O2} %{O3:-O3} \
+ %{g} %{g0} %{g1} %{g2} %{g3} \
+ %{K} %{Q}} \
+ %{v*: -v} \
+ %{G*}"
+
+#define ASM_FINAL_SPEC "\
+%{mmips-as: %{!mno-mips-tfile: \
+ \n mips-tfile %{v*: -v} %{d*} \
+ %{K: -I %b.o~} \
+ %{!K: %{save-temps: -I %b.o~}} \
+ %{c:%W{o*}%{!o*:-o %b.o}}%{!c:-o %b.o} \
+ %{.s:%i} %{!.s:%g.s}}}"
+
+#define CPP_SPEC "\
+%{.S: -D__LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
+%{.cc: -D__LANGUAGE_C_PLUS_PLUS} \
+%{.cxx: -D__LANGUAGE_C_PLUS_PLUS} \
+%{.C: -D__LANGUAGE_C_PLUS_PLUS} \
+%{.m: -D__LANGUAGE_OBJECTIVE_C} \
+%{!.S: -D__LANGUAGE_C %{!ansi:-DLANGUAGE_C}}"
+
+#define LINK_SPEC "\
+%{G*} \
+%{mmips-as: \
+ %{EL} %{!EL: -EL} \
+ %{EB: %e-EB not supported} \
+ %{bestGnum}} \
+%{!mmips-as: \
+ %{v*: -v} \
+ %{pic-none: -noshrlib} %{noshrlib} \
+ %{!pic-none: -warn_nopic} \
+ %{nostdlib} %{glue}}"
/* For now, force static libraries instead of shared, but do so that
does not use -noshrlib, since the old linker does not provide it. */
@@ -88,8 +82,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Specify size_t, ptrdiff_t, and wchar_t types. */
#define SIZE_TYPE "long unsigned int"
-#define PTRDIFF_TYPE "long int"
-#define WCHAR_TYPE "long unsigned int"
+#define PTRDIFF_TYPE "int"
+#define WCHAR_TYPE "unsigned int"
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#if 0
@@ -112,14 +106,4 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
our own exit function. */
#define HAVE_ATEXIT
-/* If defined, a C string constant for the assembler operation to
- identify the following data as initialization code. If not
- defined, GNU CC will assume such a section does not exist.
-
- OSF/rose doesn't presently have an init section, but this macro
- also controls whether or not __main is called from main, collect
- will however build an initialization section directly. */
-
-#define INIT_SECTION_ASM_OP ".init"
-
#include "mips.h"