summaryrefslogtreecommitdiff
path: root/gcc/config/m68k
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1995-02-18 17:35:43 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1995-02-18 17:35:43 +0000
commitf3da0ac3a46b56a0c155f24c037a951ffbbb34cc (patch)
treefad80588f959bafbcbf9b99109a826964b419809 /gcc/config/m68k
parent94ff37a1cefd52231706abd094d76afc56c096ab (diff)
downloadgcc-f3da0ac3a46b56a0c155f24c037a951ffbbb34cc.tar.gz
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8966 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m68k')
-rw-r--r--gcc/config/m68k/t-lynx6
-rw-r--r--gcc/config/m68k/xm-lynx.h34
2 files changed, 40 insertions, 0 deletions
diff --git a/gcc/config/m68k/t-lynx b/gcc/config/m68k/t-lynx
new file mode 100644
index 00000000000..6f2cabaaed5
--- /dev/null
+++ b/gcc/config/m68k/t-lynx
@@ -0,0 +1,6 @@
+CROSS_LIBGCC1 = libgcc1-asm.a
+LIB1ASMSRC = m68k/lb1sf68.asm
+LIB1ASMFUNCS = _mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 \
+ _double _float _floatex \
+ _eqdf2 _nedf2 _gtdf2 _gedf2 _ltdf2 _ledf2 \
+ _eqsf2 _nesf2 _gtsf2 _gesf2 _ltsf2 _lesf2
diff --git a/gcc/config/m68k/xm-lynx.h b/gcc/config/m68k/xm-lynx.h
new file mode 100644
index 00000000000..d327922d15a
--- /dev/null
+++ b/gcc/config/m68k/xm-lynx.h
@@ -0,0 +1,34 @@
+/* Configuration for GNU C-compiler for all platforms running LynxOS.
+ 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 "xm-lynx.h"
+
+/* This describes the machine the compiler is hosted on. */
+#define HOST_BITS_PER_CHAR 8
+#define HOST_BITS_PER_SHORT 16
+#define HOST_BITS_PER_INT 32
+#define HOST_BITS_PER_LONG 32
+#define HOST_BITS_PER_LONGLONG 64
+
+#define HOST_WORDS_BIG_ENDIAN 1
+
+/* target machine dependencies.
+ tm.h is a symbolic link to the actual target specific file. */
+
+#include "tm.h"