From ebde23358c1595d9a7cf5a79baa70ed420211c45 Mon Sep 17 00:00:00 2001 From: nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Tue, 10 Jun 2003 14:45:44 +0000 Subject: Improve support for arm-wince-pe target: * config.gcc: Add arm-wince-pe target. * config/arm/pe.h (MULTILIB_DEFAULTS): Define. Add comment about default apcs26 support. * config/arm/t-pe (MULTILIB_OPTIONS): Add an -mapcs-32 multilib. (MULTILIB_DIRNAMES): Add 'apcs32'. * config/arm/t-wince-pe: New makefile fragment. * config/arm/wince-pe.h: New file. Overrides a few definitions in arm/pe.h git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67705 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/arm/wince-pe.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 gcc/config/arm/wince-pe.h (limited to 'gcc/config/arm/wince-pe.h') diff --git a/gcc/config/arm/wince-pe.h b/gcc/config/arm/wince-pe.h new file mode 100644 index 00000000000..feed1337c90 --- /dev/null +++ b/gcc/config/arm/wince-pe.h @@ -0,0 +1,29 @@ +/* Definitions of target machine for GNU compiler, for ARM with WINCE-PE obj format. + Copyright (C) 2003 Free Software Foundation, Inc. + Contributed by Nick Clifton <nickc@redhat.com> + + This file is part of GCC. + + GCC 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. + + GCC 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 GCC; see the file COPYING. If not, write to + the Free Software Foundation, 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +/* Override arm/pe.h's default apcs26 support. */ + +#undef TARGET_DEFAULT +#define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_SOFT_FLOAT | TARGET_FLAG_NOP_FUN) + +#undef MULTILIB_DEFAULTS +#define MULTILIB_DEFAULTS \ + { "marm", "mlittle-endian", "msoft-float", "mapcs-32", "mno-thumb-interwork" } -- cgit v1.2.1