11558Srgrimes/* Definitions of target machine for GNU compiler.  ARM on semi-hosted platform
293492Sphk   AOF Syntax assembler.
393492Sphk   Copyright (C) 1995, 1996, 1997, 2004 Free Software Foundation, Inc.
493492Sphk   Contributed by Richard Earnshaw (richard.earnshaw@armltd.co.uk)
51558Srgrimes
693492Sphk   This file is part of GCC.
793492Sphk
893492Sphk   GCC is free software; you can redistribute it and/or modify it
993492Sphk   under the terms of the GNU General Public License as published
1093492Sphk   by the Free Software Foundation; either version 2, or (at your
111558Srgrimes   option) any later version.
121558Srgrimes
131558Srgrimes   GCC is distributed in the hope that it will be useful, but WITHOUT
141558Srgrimes   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
151558Srgrimes   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
161558Srgrimes   License for more details.
171558Srgrimes
181558Srgrimes   You should have received a copy of the GNU General Public License
1993492Sphk   along with GCC; see the file COPYING.  If not, write to
2093492Sphk   the Free Software Foundation, 51 Franklin Street, Fifth Floor,
2193492Sphk   Boston, MA 02110-1301, USA.  */
221558Srgrimes
2393492Sphk#define TARGET_OS_CPP_BUILTINS()		\
241558Srgrimes    do {					\
251558Srgrimes	builtin_define_std ("arm");		\
2693492Sphk	builtin_define_std ("semi");		\
271558Srgrimes    } while (0)
281558Srgrimes
291558Srgrimes#define ASM_SPEC "%{g -g} -arch 4 -apcs 3/32bit"
301558Srgrimes
311558Srgrimes#define LIB_SPEC "%{Eb: armlib_h.32b%s}%{!Eb: armlib_h.32l%s}"
321558Srgrimes
331558Srgrimes#define TARGET_VERSION fputs (" (ARM/semi-hosted)", stderr);
3496049Sfenner
3596049Sfenner#define TARGET_DEFAULT_FLOAT_ABI ARM_FLOAT_ABI_HARD
3696049Sfenner
3796049Sfenner#define TARGET_DEFAULT (0)
3896049Sfenner
3996049Sfenner/* The Norcroft C library defines size_t as "unsigned int".  */
4096049Sfenner#define SIZE_TYPE "unsigned int"
4196049Sfenner