2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / config / sh / vxworks.h
blob61c3236967f415774bb4d35a6376633d5fde78dd
1 /* Definitions of target machine for GCC,
2 for SuperH with targeting the VXWorks run time environment.
3 Copyright (C) 2003 Free Software Foundation, Inc.
4 Contributed by CodeSourcery, LLC.
6 This file is part of GCC.
8 GCC 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 GCC 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 GCC; see the file COPYING. If not, write to
20 the Free Software Foundation, 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA. */
24 #define TARGET_OS_CPP_BUILTINS() \
25 do { \
26 builtin_define ("__vxworks"); \
27 builtin_define ("CPU=SH7000"); \
28 } while (0)
30 /* VxWorks does all the library stuff itself. */
31 #undef LIB_SPEC
32 #define LIB_SPEC ""
34 /* VxWorks uses object files, not loadable images. Make the linker just
35 combine objects. */
36 #undef LINK_SPEC
37 #define LINK_SPEC "-r"
39 /* VxWorks provides the functionality of crt0.o and friends itself. */
40 #undef STARTFILE_SPEC
41 #define STARTFILE_SPEC ""
43 #undef ENDFILE_SPEC
44 #define ENDFILE_SPEC ""
46 #undef TARGET_VERSION
47 #define TARGET_VERSION fputs (" (SH/VxWorks)", stderr);
49 /* There is no default multilib. */
50 #undef MULTILIB_DEFAULTS