summaryrefslogtreecommitdiff
path: root/gcc/config/arm/wince-pe.h
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-10 14:45:44 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-10 14:45:44 +0000
commitebde23358c1595d9a7cf5a79baa70ed420211c45 (patch)
tree652e1204cc12205f2dbc513c2a5202c4a8834383 /gcc/config/arm/wince-pe.h
parentca3b731f08554b4f7ef011cb3e6ccef9961d3d0f (diff)
downloadgcc-ebde23358c1595d9a7cf5a79baa70ed420211c45.tar.gz
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
Diffstat (limited to 'gcc/config/arm/wince-pe.h')
-rw-r--r--gcc/config/arm/wince-pe.h29
1 files changed, 29 insertions, 0 deletions
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" }