OSDN Git Service

2001-11-14 David O'Brien <obrien@FreeBSD.org>
[pf3gnuchains/gcc-fork.git] / gcc / config / sparc / openbsd.h
1 /* Configuration file for sparc OpenBSD target.
2    Copyright (C) 1999 Free Software Foundation, Inc.
3
4 This file is part of GNU CC.
5
6 GNU CC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 GNU CC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING.  If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.  */
20
21 /* Get generic OpenBSD definitions.  */
22 #define OBSD_OLD_GAS
23 #include <openbsd.h>
24
25 /* Run-time target specifications.  */
26 #define CPP_PREDEFINES "-D__unix__ -D__sparc__ -D__OpenBSD__ -Asystem=unix -Asystem=OpenBSD -Acpu=sparc -Amachine=sparc"
27
28 /* Layout of source language data types */
29
30 /* This must agree with <machine/ansi.h> */
31 #undef SIZE_TYPE
32 #define SIZE_TYPE "unsigned int"
33
34 #undef PTRDIFF_TYPE
35 #define PTRDIFF_TYPE "int"
36
37 #undef WCHAR_TYPE
38 #define WCHAR_TYPE "int"
39
40 #undef WCHAR_TYPE_SIZE
41 #define WCHAR_TYPE_SIZE 32
42
43 /* Specific options for DBX Output.  */
44
45 /* This is BSD, so it wants DBX format.  */
46 #define DBX_DEBUGGING_INFO
47
48 /* This is the char to use for continuation */
49 #define DBX_CONTIN_CHAR '?'
50
51 /* Stack & calling: aggregate returns.  */
52
53 /* Don't default to pcc-struct-return, because gcc is the only compiler, and
54    we want to retain compatibility with older gcc versions.  */
55 #undef DEFAULT_PCC_STRUCT_RETURN
56 #define DEFAULT_PCC_STRUCT_RETURN 0
57
58 /* Assembler format: exception region output.  */
59
60 /* All configurations that don't use elf must be explicit about not using
61    dwarf unwind information. egcs doesn't try too hard to check internal
62    configuration files...  */
63 #define DWARF2_UNWIND_INFO 0
64
65 #undef ASM_PREFERRED_EH_DATA_FORMAT
66
67 /* Default sparc.h does already define ASM_OUTPUT_MI_THUNK */