aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1994-07-11 20:49:29 +0000
committerRichard Stallman <rms@gnu.org>1994-07-11 20:49:29 +0000
commiteb4c374938a03dcf29ad5f6ed58cf52c8ca5df45 (patch)
tree9ebad5244572bd943b556a7a53f5b58f741d2c97 /gcc
parent5f0a312d748f0f46192c3a49dce16b88af872f56 (diff)
downloadgcc-eb4c374938a03dcf29ad5f6ed58cf52c8ca5df45.zip
gcc-eb4c374938a03dcf29ad5f6ed58cf52c8ca5df45.tar.gz
gcc-eb4c374938a03dcf29ad5f6ed58cf52c8ca5df45.tar.bz2
Initial revision
From-SVN: r7716
Diffstat (limited to 'gcc')
-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 0000000..37676b1
--- /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