(TARGET_CPU_arm*, TARGET_CPU_strongarm*, TARGET_CPU_generic):
[official-gcc.git] / gcc / config / arm / semiaof.h
blobab6c8b29ce1cc23559e2a6fced9348d4c70457ec
1 /* Definitions of target machine for GNU compiler. ARM on semi-hosted platform
2 AOF Syntax assembler.
3 Copyright (C) 1995, 1996 Free Software Foundation, Inc.
4 Contributed by Richard Earnshaw (richard.earnshaw@armltd.co.uk)
6 This file is part of GNU CC.
8 GNU CC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
13 GNU CC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with GNU CC; see the file COPYING. If not, write to
20 the Free Software Foundation, 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA. */
23 #define CPP_PREDEFINES \
24 "-Darm -Dsemi -Acpu(arm) -Amachine(arm)"
26 #define CPP_SPEC "%{m6:-D__arm6__} \
27 %{mcpu-*:-D__%*} \
28 %{mcpu=*:-D__%*} \
29 %{mapcs-32:-D__APCS_32__ -U__APCS_26__} \
30 %{mapcs-26:-D__APCS_26__ -U__APCS_32__} \
31 %{!mapcs-32: %{!mapcs-26:-D__APCS_32__}} \
32 %{msoft-float:-D__SOFTFP__} \
33 %{mhard-float:-U__SOFTFP__} \
34 %{!mhard-float: %{!msoft-float:-U__SOFTFP__}} \
35 %{mbig-endian:-D__ARMEB__ %{mwords-little-endian:-D__ARMWEL__}} \
36 %{mbe:-D__ARMEB__ %{mwords-little-endian:-D__ARMWEL__}} \
37 %{!mbe: %{!mbig-endian:-D__ARMEL__}} \
40 #define ASM_SPEC "%{g -g} -arch 4 \
41 -apcs 3%{mapcs-32:/32bit}%{mapcs-26:/26bit}%{!mapcs-26:%{!macps-32:/32bit}}"
43 #define LIB_SPEC "%{Eb: armlib_h.32b%s}%{!Eb: armlib_h.32l%s}"
45 #define TARGET_VERSION fputs (" (ARM/semi-hosted)", stderr);
47 #define TARGET_DEFAULT ARM_FLAG_APCS_32
49 /* The Norcroft C library defines size_t as "unsigned int" */
50 #define SIZE_TYPE "unsigned int"
52 #include "arm/aof.h"