OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [config/] [sh/] [vxworks.h] - Blame information for rev 820

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* Definitions of target machine for GCC,
2
   for SuperH with targeting the VXWorks run time environment.
3
   Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc.
4
   Contributed by CodeSourcery, LLC.
5
 
6
This file is part of GCC.
7
 
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 3, or (at your option)
11
any later version.
12
 
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.
17
 
18
You should have received a copy of the GNU General Public License
19
along with GCC; see the file COPYING3.  If not see
20
<http://www.gnu.org/licenses/>.  */
21
 
22
 
23
#define TARGET_OS_CPP_BUILTINS()        \
24
  do {                                  \
25
    builtin_define ("__vxworks");       \
26
    builtin_define ("CPU=SH7000");              \
27
  } while (0)
28
 
29
/* VxWorks does all the library stuff itself.  */
30
#undef  LIB_SPEC
31
#define LIB_SPEC        ""
32
 
33
/* VxWorks uses object files, not loadable images.  Make the linker just
34
   combine objects.  */
35
#undef  LINK_SPEC
36
#define LINK_SPEC       "-r"
37
 
38
/* VxWorks provides the functionality of crt0.o and friends itself.  */
39
#undef  STARTFILE_SPEC
40
#define STARTFILE_SPEC  ""
41
 
42
#undef  ENDFILE_SPEC
43
#define ENDFILE_SPEC    ""
44
 
45
#undef  TARGET_VERSION
46
#define TARGET_VERSION  fputs (" (SH/VxWorks)", stderr);
47
 
48
/* There is no default multilib.  */
49
#undef MULTILIB_DEFAULTS

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.