OSDN Git Service

Pass pointer to RTX when calling alter_subreg().
[pf3gnuchains/gcc-fork.git] / gcc / config / arm / arm-wince-pe.h
1 /* Definitions of target machine for GNU compiler,
2    for ARM with PE obj format running under the WinCE operating system. 
3    Copyright (C) 1999, 2000 Free Software Foundation, Inc.
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 #define ARM_WINCE                       1
23
24 #include "pe.h"
25
26 #undef  USER_LABEL_PREFIX
27 #define USER_LABEL_PREFIX ""
28
29 #undef  TARGET_VERSION
30 #define TARGET_VERSION  fputs (" (ARM/WinCE/PE)", stderr);
31
32 /* The next three definitions are defined in pe.h,
33    undefined in arm/arm-pe.h and then redefined back here!  */
34 #undef  LIB_SPEC
35 #define LIB_SPEC "-lcoredll -lcorelibc"
36
37 #define MATH_LIBRARY ""
38
39 #define LIBSTDCXX "-lc"
40
41 #undef  STARTFILE_SPEC
42 #define STARTFILE_SPEC ""
43 #define ENDFILE_SPEC ""
44
45 #undef  CPP_APCS_PC_DEFAULT_SPEC
46 #define CPP_APCS_PC_DEFAULT_SPEC        "-D__APCS_32__"
47
48 #undef  CC1_SPEC
49 #define CC1_SPEC  "%{!mapcs-32:%{!mapcs-26:-mapcs-32}}"
50
51 #undef  ASM_SPEC
52 #define ASM_SPEC "                      \
53 %{mbig-endian:-EB}                      \
54 %{mcpu=*:-m%*}                          \
55 %{march=*:-m%*}                         \
56 %{mapcs-*:-mapcs-%*}                    \
57 %{mthumb-interwork:-mthumb-interwork}   \
58 %{!mapcs-32:%{!mapcs-26:-mapcs-32}}     \
59 "
60
61 /* WinCE headers require -DARM */
62 #undef  PE_SUBTARGET_CPP_SPEC
63 #define PE_SUBTARGET_CPP_SPEC "-D__pe__ -DARM -D__unaligned=__attribute__((aligned(1))) "
64
65 #undef  SIZE_TYPE
66 #define SIZE_TYPE "long unsigned int"