summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc/config
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-09-20 17:04:48 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-09-20 17:04:48 +0000
commit6aa638279855ee359f41e436a0a653054bf37d52 (patch)
tree461dbc5dd126c9a3e48029e9f416258e8dc9bf09 /gnu/egcs/gcc/config
parentdbb2319569e7134925cfe73c82108d95d94d8fed (diff)
Transform mips/openbsd-be.h into a fragment,
tweak configure.in accordingly, regen configure. Fiddle with comments in mips/openbsd.h before shipping back to the FSF.
Diffstat (limited to 'gnu/egcs/gcc/config')
-rw-r--r--gnu/egcs/gcc/config/mips/openbsd-be.h3
-rw-r--r--gnu/egcs/gcc/config/mips/openbsd.h18
2 files changed, 8 insertions, 13 deletions
diff --git a/gnu/egcs/gcc/config/mips/openbsd-be.h b/gnu/egcs/gcc/config/mips/openbsd-be.h
index abea02d682c..2f07c8fe110 100644
--- a/gnu/egcs/gcc/config/mips/openbsd-be.h
+++ b/gnu/egcs/gcc/config/mips/openbsd-be.h
@@ -1,4 +1,4 @@
-/* Configuration file for a mips big endian OpenBSD target.
+/* Configuration fragment for a mips big-endian OpenBSD target
Copyright (C) 1999 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -19,4 +19,3 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#define TARGET_ENDIAN_DEFAULT MASK_BIG_ENDIAN
-#include <mips/openbsd.h>
diff --git a/gnu/egcs/gcc/config/mips/openbsd.h b/gnu/egcs/gcc/config/mips/openbsd.h
index dcc5fc6f2c7..a40a7f9f62e 100644
--- a/gnu/egcs/gcc/config/mips/openbsd.h
+++ b/gnu/egcs/gcc/config/mips/openbsd.h
@@ -18,9 +18,7 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* Default mips is little endian, unless otherwise specified. */
-
-/* Definitions needed for OpenBSD, avoid picking mips 'defaults'. */
+/* Definitions needed for OpenBSD, to avoid picking mips 'defaults'. */
/* GAS must know this. */
#define SUBTARGET_ASM_SPEC "%{fPIC:-KPIC} %|"
@@ -36,9 +34,8 @@ Boston, MA 02111-1307, USA. */
it as it is until we have some kind of profiling working. */
#define LIB_SPEC OBSD_LIB_SPEC
-/* We are little endian by default, unless an includer thinks otherwise.
- This is important to set as mips/mips.h defaults to big unless DECSTATION
- is defined. */
+/* By default, OpenBSD mips is little endian. This is important to set
+ here as mips/mips.h defaults to big endian unless DECSTATION. */
#ifndef TARGET_ENDIAN_DEFAULT
#define TARGET_ENDIAN_DEFAULT 0
#endif
@@ -69,7 +66,7 @@ Boston, MA 02111-1307, USA. */
/* Layout of source language data types. */
-/* This must agree with <machine/ansi.h> */
+/* This must agree with <machine/ansi.h>. */
#undef SIZE_TYPE
#define SIZE_TYPE "unsigned int"
@@ -82,11 +79,10 @@ Boston, MA 02111-1307, USA. */
#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE 32
-/* Controlling the compilation driver. */
+/* Controlling the compilation driver. */
-/* LINK_SPEC appropriate for OpenBSD. Support for GCC options
- -static, -assert, and -nostdlib. Dynamic loader control.
- XXX Why don't we offer -R support ? */
+/* LINK_SPEC appropriate for OpenBSD: support for GCC options
+ -static, -assert, and -nostdlib. Dynamic loader control. */
#undef LINK_SPEC
#define LINK_SPEC \
"%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \