Fix asm string.
[official-gcc.git] / gcc / config / vxworksae.h
blobb63192ecb1597176ba556fe8c17ed937afe37f41
1 /* Common VxWorks AE target definitions for GNU compiler.
2 Copyright (C) 2004, 2005 Free Software Foundation, Inc.
3 Contributed by CodeSourcery, LLC.
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 2, or (at your option) any later
10 version.
12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING. If not, write to the Free
19 Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
20 02110-1301, USA. */
22 /* This header should be included after including vx-common.h. */
24 /* Most of the definitions below this point are versions of the
25 vxworks.h definitions, without the -mrtp bits. */
27 /* The directory containing the VxWorks AE target headers. */
28 #define VXWORKSAE_TARGET_DIR \
29 "/home/tornado/vxworks-ae/latest/target"
31 /* Include target/vThreads/h or target/h (depending on the compilation
32 mode), and then target/val/h (in either mode). The macros defined
33 are in the user's namespace, but the VxWorks headers require
34 them. */
35 #undef VXWORKS_ADDITIONAL_CPP_SPEC
36 #define VXWORKS_ADDITIONAL_CPP_SPEC " \
37 %{!nostdinc:%{isystem*}} \
38 %{mvthreads:-DVTHREADS=1 \
39 %{!nostdinc:-isystem " VXWORKSAE_TARGET_DIR "/vThreads/h}} \
40 %{!mvthreads:-DAE653_BUILD=1 \
41 %{!nostdinc:-isystem " VXWORKSAE_TARGET_DIR "/h}} \
42 %{!nostdinc:-isystem " VXWORKSAE_TARGET_DIR "/val/h}"
44 #undef VXWORKS_LIB_SPEC
45 #define VXWORKS_LIB_SPEC ""
47 #undef VXWORKS_LINK_SPEC
48 #define VXWORKS_LINK_SPEC \
49 "-r %{v:-V}"
51 #undef VXWORKS_LIBGCC_SPEC
52 #define VXWORKS_LIBGCC_SPEC \
53 "-lgcc"
55 #undef VXWORKS_STARTFILE_SPEC
56 #define VXWORKS_STARTFILE_SPEC ""
58 #define VXWORKS_KIND VXWORKS_KIND_AE