OSDN Git Service

* sh.c (gen_shl_and): Don't create a zero_extend if the operand
[pf3gnuchains/gcc-fork.git] / gcc / config / arm / freebsd.h
1 /* Definitions for StrongARM running FreeBSD using the ELF format
2    Copyright (C) 2001 Free Software Foundation, Inc.
3    Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi.
4
5 This file is part of GNU CC.
6
7 GNU CC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
11
12 GNU CC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GNU CC; see the file COPYING.  If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA.  */
21
22
23 #undef  SUBTARGET_CPP_SPEC
24 #define SUBTARGET_CPP_SPEC FBSD_CPP_SPEC
25
26
27 /************************[  Target stuff  ]***********************************/
28
29 /* Define the actual types of some ANSI-mandated types.  
30    Needs to agree with <machine/ansi.h>.  GCC defaults come from c-decl.c,
31    c-common.c, and config/<arch>/<arch>.h.  */
32
33 /* arm.h gets this wrong for FreeBSD.  We use the GCC defaults instead.  */
34
35 #undef  SIZE_TYPE
36 #define SIZE_TYPE       "unsigned int"
37
38 #undef  PTRDIFF_TYPE
39 #define PTRDIFF_TYPE    "int"
40
41 /* We use the GCC defaults here.  */
42 #undef WCHAR_TYPE
43
44 #undef  WCHAR_TYPE_SIZE
45 #define WCHAR_TYPE_SIZE 32
46
47 #undef  SUBTARGET_CPU_DEFAULT
48 #define SUBTARGET_CPU_DEFAULT   TARGET_CPU_strongarm
49
50 #undef  ARM_OS_NAME
51 #define ARM_OS_NAME "FreeBSD"
52
53 #undef  TARGET_VERSION
54 #define TARGET_VERSION fprintf (stderr, " (FreeBSD/StrongARM ELF)");