aboutsummaryrefslogtreecommitdiff
path: root/gcc-1.40/config/tm-hp9k310.h
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2021-08-15 00:34:05 -0400
committerAndrew Lee <alee14498@protonmail.com>2021-08-15 00:34:05 -0400
commit60cc83bf91bfc9bb02f6304b5d6c8234ba6d210f (patch)
treefdc0be85a1ca35e34c3ae2c805fe9b718e3c1091 /gcc-1.40/config/tm-hp9k310.h
parentdd8dfab51b832a654365ed00c06bf802ff628bfa (diff)
downloadlinux-0.01-distro-60cc83bf91bfc9bb02f6304b5d6c8234ba6d210f.tar.gz
linux-0.01-distro-60cc83bf91bfc9bb02f6304b5d6c8234ba6d210f.tar.bz2
linux-0.01-distro-60cc83bf91bfc9bb02f6304b5d6c8234ba6d210f.zip
Added gccHEADmaster
Diffstat (limited to 'gcc-1.40/config/tm-hp9k310.h')
-rw-r--r--gcc-1.40/config/tm-hp9k310.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/gcc-1.40/config/tm-hp9k310.h b/gcc-1.40/config/tm-hp9k310.h
new file mode 100644
index 0000000..806aed5
--- /dev/null
+++ b/gcc-1.40/config/tm-hp9k310.h
@@ -0,0 +1,32 @@
+/* Definitions of target machine for GNU compiler. HP-UX 68010 version. */
+
+/* See tm-m68k.h. 0 means 68000 without 68881 and no bitfields. */
+#define TARGET_DEFAULT 0
+
+#include "tm-hp9k320.h"
+
+#undef CPP_SPEC
+#undef ASM_SPEC
+
+/* HP does not support a 68020 without a 68881 or a 68010 with a 68881.
+ However, -m68020 does not imply -m68881. You must specify both
+ if you want both. */
+
+#ifdef HPUX_ASM
+
+#define CPP_SPEC "-D__HPUX_ASM__ %{m68881: -D__HAVE_68881__}\
+%{m68020: -Dmc68020}%{mc68020: -Dmc68020}\
+%{!traditional:-D_INCLUDE__STDC__}"
+
+#define ASM_SPEC "%{!m68020:%{!mc68020:+X}}"
+
+#else /* not HPUX_ASM */
+
+#define CPP_SPEC "%{m68881: -D__HAVE_68881__}\
+%{m68020: -Dmc68020}%{mc68020: -Dmc68020}\
+%{!traditional:-D_INCLUDE__STDC__}"
+
+#define ASM_SPEC \
+ "%{m68000:-mc68000}%{mc68000:-mc68000}%{!mc68000:%{!m68000:-mc68020}}"
+
+#endif /* not HPUX_ASM */