semiaof.h revision 303975
1231990Smp/* Definitions of target machine for GNU compiler. ARM on semi-hosted platform 259243Sobrien AOF Syntax assembler. 359243Sobrien Copyright (C) 1995, 1996, 1997, 2004 Free Software Foundation, Inc. 459243Sobrien Contributed by Richard Earnshaw (richard.earnshaw@armltd.co.uk) 559243Sobrien 659243Sobrien This file is part of GCC. 759243Sobrien 859243Sobrien GCC is free software; you can redistribute it and/or modify it 959243Sobrien under the terms of the GNU General Public License as published 1059243Sobrien by the Free Software Foundation; either version 2, or (at your 11231990Smp option) any later version. 12231990Smp 1359243Sobrien GCC is distributed in the hope that it will be useful, but WITHOUT 14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 16 License for more details. 17 18 You should have received a copy of the GNU General Public License 19 along with GCC; see the file COPYING. If not, write to 20 the Free Software Foundation, 51 Franklin Street, Fifth Floor, 21 Boston, MA 02110-1301, USA. */ 22 23#define TARGET_OS_CPP_BUILTINS() \ 24 do { \ 25 builtin_define_std ("arm"); \ 26 builtin_define_std ("semi"); \ 27 } while (0) 28 29#define ASM_SPEC "%{g -g} -arch 4 -apcs 3/32bit" 30 31#define LIB_SPEC "%{Eb: armlib_h.32b%s}%{!Eb: armlib_h.32l%s}" 32 33#define TARGET_VERSION fputs (" (ARM/semi-hosted)", stderr); 34 35#define TARGET_DEFAULT_FLOAT_ABI ARM_FLOAT_ABI_HARD 36 37#define TARGET_DEFAULT (0) 38 39/* The Norcroft C library defines size_t as "unsigned int". */ 40#define SIZE_TYPE "unsigned int" 41