File: hp310.h

package info (click to toggle)
gccxml 0.7.0%2Bcvs20060311-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 45,240 kB
  • ctags: 59,007
  • sloc: ansic: 589,435; asm: 19,610; cpp: 12,681; sh: 4,326; yacc: 3,727; makefile: 3,074; perl: 318; lex: 307; awk: 117; pascal: 78; sed: 20
file content (34 lines) | stat: -rw-r--r-- 929 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* Definitions of target machine for GNU compiler.  HP-UX 68010 version.  */

/* See m68k.h.  0 means 68000 without 68881 and no bitfields.  */
#define	TARGET_DEFAULT 0

#include "m68k/hp320.h"

/* Don't try using XFmode.  */
#undef LONG_DOUBLE_TYPE_SIZE
#define LONG_DOUBLE_TYPE_SIZE 64

#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} -D_INCLUDE__STDC__"

#define ASM_SPEC "%{!m68020:%{!mc68020:+X}}"

#else	/* not HPUX_ASM */

#define CPP_SPEC "%{m68881: -D__HAVE_68881__}\
%{m68020: -Dmc68020}%{mc68020: -Dmc68020} -D_INCLUDE__STDC__"

#define ASM_SPEC \
 "%{m68000:-mc68000}%{mc68000:-mc68000}%{!mc68000:%{!m68000:-mc68020}}"

#endif	/* not HPUX_ASM */