FSF GCC merge 02/23/03
[official-gcc.git] / gcc / config / sparc / openbsd.h
bloba4333df79ab527c07b98c6cd3c63a4f614d5a177
1 /* Configuration file for sparc OpenBSD target.
2 Copyright (C) 1999, 2002 Free Software Foundation, Inc.
4 This file is part of GNU CC.
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.
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.
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. */
21 /* Get generic OpenBSD definitions. */
22 #define OBSD_OLD_GAS
23 #include <openbsd.h>
25 /* Run-time target specifications. */
26 #define CPP_PREDEFINES "-D__unix__ -D__sparc__ -D__OpenBSD__ -Asystem=unix -Asystem=OpenBSD -Acpu=sparc -Amachine=sparc"
28 /* Layout of source language data types */
30 /* This must agree with <machine/ansi.h> */
31 #undef SIZE_TYPE
32 #define SIZE_TYPE "unsigned int"
34 #undef PTRDIFF_TYPE
35 #define PTRDIFF_TYPE "int"
37 #undef WCHAR_TYPE
38 #define WCHAR_TYPE "int"
40 #undef WCHAR_TYPE_SIZE
41 #define WCHAR_TYPE_SIZE 32
43 /* Specific options for DBX Output. */
45 /* This is BSD, so it wants DBX format. */
46 #define DBX_DEBUGGING_INFO 1
48 /* This is the char to use for continuation */
49 #define DBX_CONTIN_CHAR '?'
51 /* Stack & calling: aggregate returns. */
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
58 /* Assembler format: exception region output. */
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
65 #undef ASM_PREFERRED_EH_DATA_FORMAT