xref: /openbsd-src/gnu/usr.bin/gcc/gcc/config/arm/conix-elf.h (revision c87b03e512fc05ed6e0222f6fb0ae86264b1d05b)
1 /* Definitions of target machine for GNU compiler,
2    for ARM with ConiX OS.
3    Copyright (C) 2000, 2001 Free Software Foundation, Inc.
4    Contributed by Philip Blundell <pb@futuretv.com>
5 
6 This file is part of GNU CC.
7 
8 GNU CC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
12 
13 GNU CC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 GNU General Public License for more details.
17 
18 You should have received a copy of the GNU General Public License
19 along with GNU CC; see the file COPYING.  If not, write to
20 the Free Software Foundation, 59 Temple Place - Suite 330,
21 `Boston, MA 02111-1307, USA.  */
22 
23 /* elfos.h should have already been included.  Now just override
24    any conflicting definitions and add any extras.  */
25 
26 /* Run-time Target Specification.  */
27 #undef  TARGET_VERSION
28 #define TARGET_VERSION	fputs (" (ARM/ELF ConiX)", stderr);
29 
30 /* Default to using APCS-32 and software floating point.  */
31 #undef  TARGET_DEFAULT
32 #define TARGET_DEFAULT	(ARM_FLAG_SOFT_FLOAT | ARM_FLAG_APCS_32)
33 
34 #ifndef CPP_APCS_PC_DEFAULT_SPEC
35 #define CPP_APCS_PC_DEFAULT_SPEC	"-D__APCS_32__"
36 #endif
37 
38 #ifndef SUBTARGET_CPU_DEFAULT
39 #define SUBTARGET_CPU_DEFAULT 		TARGET_CPU_arm7tdmi
40 #endif
41 
42 #define TARGET_OS_CPP_BUILTINS()		\
43     do {					\
44 	builtin_define ("__CONIX__");		\
45 	builtin_define ("__ELF__");		\
46     } while (0)
47