summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1994-07-11 20:49:29 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1994-07-11 20:49:29 +0000
commitfee69fc1b3e67ab04c99a448c7b6ab3dd9e3ddae (patch)
tree9ebad5244572bd943b556a7a53f5b58f741d2c97
parent6b0680b298aa3f6784c1f3d03f7ae3f363b058b1 (diff)
downloadgcc-fee69fc1b3e67ab04c99a448c7b6ab3dd9e3ddae.tar.gz
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7716 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/config/m68k/lynx-ng.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/gcc/config/m68k/lynx-ng.h b/gcc/config/m68k/lynx-ng.h
new file mode 100644
index 00000000000..37676b141c3
--- /dev/null
+++ b/gcc/config/m68k/lynx-ng.h
@@ -0,0 +1,42 @@
+/* Definitions for Motorola 680x0 running LynxOS, using Lynx's old as and ld.
+ Copyright (C) 1993 Free Software Foundation, Inc.
+
+This file is part of GNU CC.
+
+GNU CC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU CC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU CC; see the file COPYING. If not, write to
+the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+#include "m68k/m68k.h"
+#include "m68k/m68k-coff.h"
+#include "lynx-ng.h"
+
+/* See m68k.h. 7 means 68020 with 68881. */
+
+#ifndef TARGET_DEFAULT
+#define TARGET_DEFAULT 7
+#endif
+
+/* Names to predefine in the preprocessor for this target machine. */
+
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES "-Dunix -Dmc68000 -DM68K -DLynx -DIBITS32 -Asystem(unix) -Asystem(lynx) -Acpu(m68k) -Amachine(m68k)"
+
+/* Provide required defaults for linker switches. */
+
+#undef LINK_SPEC
+#define LINK_SPEC "-P1000 %{msystem-v:-V} %{mcoff:-k}"
+
+/* Every structure or union's size must be a multiple of 2 bytes. */
+
+#define STRUCTURE_SIZE_BOUNDARY 16