OSDN Git Service

8f1d9c7adfddabf9b5eb45e76a69353654931a7e
[pf3gnuchains/gcc-fork.git] / gcc / config / m68k / hp310.h
1 /* Definitions of target machine for GNU compiler.  HP-UX 68010 version.  */
2
3 /* See m68k.h.  0 means 68000 without 68881 and no bitfields.  */
4 #define TARGET_DEFAULT 0
5
6 #include "m68k/hp320.h"
7
8 /* Don't try using XFmode.  */
9 #undef LONG_DOUBLE_TYPE_SIZE
10 #define LONG_DOUBLE_TYPE_SIZE 64
11
12 #undef CPP_SPEC
13 #undef ASM_SPEC
14
15 /* HP does not support a 68020 without a 68881 or a 68010 with a 68881.
16    However, -m68020 does not imply -m68881.  You must specify both
17    if you want both.  */
18
19 #ifdef HPUX_ASM
20
21 #define CPP_SPEC "-D__HPUX_ASM__ %{m68881: -D__HAVE_68881__}\
22 %{m68020: -Dmc68020}%{mc68020: -Dmc68020}\
23 %{!traditional:-D_INCLUDE__STDC__}"
24
25 #define ASM_SPEC "%{!m68020:%{!mc68020:+X}}"
26
27 #else   /* not HPUX_ASM */
28
29 #define CPP_SPEC "%{m68881: -D__HAVE_68881__}\
30 %{m68020: -Dmc68020}%{mc68020: -Dmc68020}\
31 %{!traditional:-D_INCLUDE__STDC__}"
32
33 #define ASM_SPEC \
34  "%{m68000:-mc68000}%{mc68000:-mc68000}%{!mc68000:%{!m68000:-mc68020}}"
35
36 #endif  /* not HPUX_ASM */