From: Nick Clifton Date: Mon, 28 Feb 2000 20:29:46 +0000 (+0000) Subject: Set SIZE_TYPE to unsigend long X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7cb4ce1205d29a7d8c18046f9683f08ffe539378;p=gcc.git Set SIZE_TYPE to unsigend long From-SVN: r32240 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 307cff1749b..18e6444bc4c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-02-28 Nick Clifton + + * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long". + Mon Feb 28 14:21:15 2000 Catherine Moore * 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 00000000000..e3faa3d547e --- /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"