diff options
author | Nick Clifton <nickc@cygnus.com> | 2000-02-28 20:29:46 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2000-02-28 20:29:46 +0000 |
commit | 7cb4ce1205d29a7d8c18046f9683f08ffe539378 (patch) | |
tree | 7a3df554f20dd4e2631ef189a7e9c98318f1f4ef /gcc | |
parent | 90b37266130b2da50144a64136aed73448c2efc7 (diff) | |
download | gcc-7cb4ce1205d29a7d8c18046f9683f08ffe539378.zip gcc-7cb4ce1205d29a7d8c18046f9683f08ffe539378.tar.gz gcc-7cb4ce1205d29a7d8c18046f9683f08ffe539378.tar.bz2 |
Set SIZE_TYPE to unsigend long
From-SVN: r32240
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/arm/arm-wince-pe.h | 66 |
2 files changed, 70 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 307cff1..18e6444 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-02-28 Nick Clifton <nickc@cygnus.com> + + * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long". + Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com> * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define. diff --git a/gcc/config/arm/arm-wince-pe.h b/gcc/config/arm/arm-wince-pe.h new file mode 100644 index 0000000..e3faa3d --- /dev/null +++ b/gcc/config/arm/arm-wince-pe.h @@ -0,0 +1,66 @@ +/* Definitions of target machine for GNU compiler, + for ARM with PE obj format running under the WinCE operating system. + Copyright (C) 1999, 2000 Free Software Foundation, Inc. + +This file is part of GNU CC. + +GNU CC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU CC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU CC; see the file COPYING. If not, write to +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ + +#define ARM_WINCE 1 + +#include "pe.h" + +#undef USER_LABEL_PREFIX +#define USER_LABEL_PREFIX "" + +#undef TARGET_VERSION +#define TARGET_VERSION fputs (" (ARM/WinCE/PE)", stderr); + +/* The next three definitions are defined in pe.h, + undefined in arm/arm-pe.h and then redefined back here! */ +#undef LIB_SPEC +#define LIB_SPEC "-lcoredll -lcorelibc" + +#define MATH_LIBRARY "" + +#define LIBSTDCXX "-lc" + +#undef STARTFILE_SPEC +#define STARTFILE_SPEC "" +#define ENDFILE_SPEC "" + +#undef CPP_APCS_PC_DEFAULT_SPEC +#define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__" + +#undef CC1_SPEC +#define CC1_SPEC "%{!mapcs-32:%{!mapcs-26:-mapcs-32}}" + +#undef ASM_SPEC +#define ASM_SPEC " \ +%{mbig-endian:-EB} \ +%{mcpu=*:-m%*} \ +%{march=*:-m%*} \ +%{mapcs-*:-mapcs-%*} \ +%{mthumb-interwork:-mthumb-interwork} \ +%{!mapcs-32:%{!mapcs-26:-mapcs-32}} \ +" + +/* WinCE headers require -DARM */ +#undef PE_SUBTARGET_CPP_SPEC +#define PE_SUBTARGET_CPP_SPEC "-D__pe__ -DARM -D__unaligned=__attribute__((aligned(1))) " + +#undef SIZE_TYPE +#define SIZE_TYPE "unsigned long" |