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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [config/] [sparc/] [vxworks.h] - Blame information for rev 297

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

Line No. Rev Author Line
1 282 jeremybenn
/* Definitions of target machine for GNU compiler,
2
   for SPARC targeting the VxWorks run time environment.
3
   Copyright (C) 2007 Free Software Foundation, Inc.
4
 
5
This file is part of GCC.
6
 
7
GCC is free software; you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation; either version 3, or (at your option)
10
any later version.
11
 
12
GCC is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
GNU General Public License for more details.
16
 
17
You should have received a copy of the GNU General Public License
18
along with GCC; see the file COPYING3.  If not see
19
<http://www.gnu.org/licenses/>.  */
20
 
21
#define TARGET_OS_CPP_BUILTINS()                \
22
  do                                            \
23
    {                                           \
24
      builtin_define ("__sparc");               \
25
      builtin_define ("CPU=SIMSPARCSOLARIS");   \
26
      VXWORKS_OS_CPP_BUILTINS ();               \
27
    }                                           \
28
  while (0)
29
 
30
#undef OVERRIDE_OPTIONS
31
#define OVERRIDE_OPTIONS                        \
32
  do                                            \
33
    {                                           \
34
      VXWORKS_OVERRIDE_OPTIONS;                 \
35
      sparc_override_options ();                \
36
    }                                           \
37
  while (0)
38
 
39
#undef CPP_SUBTARGET_SPEC
40
#define CPP_SUBTARGET_SPEC VXWORKS_ADDITIONAL_CPP_SPEC
41
 
42
#undef LIB_SPEC
43
#define LIB_SPEC VXWORKS_LIB_SPEC
44
#undef LINK_SPEC
45
#define LINK_SPEC VXWORKS_LINK_SPEC
46
#undef STARTFILE_SPEC
47
#define STARTFILE_SPEC VXWORKS_STARTFILE_SPEC
48
#undef ENDFILE_SPEC
49
#define ENDFILE_SPEC VXWORKS_ENDFILE_SPEC
50
 
51
#undef TARGET_VERSION
52
#define TARGET_VERSION fputs (" (SPARC/VxWorks)", stderr);
53
 
54
#undef FUNCTION_PROFILER
55
#define FUNCTION_PROFILER VXWORKS_FUNCTION_PROFILER
56
 
57
/* Use standard numbered ctors/dtors sections.  */
58
#undef CTORS_SECTION_ASM_OP
59
#undef DTORS_SECTION_ASM_OP
60
 
61
/* We cannot use PC-relative accesses for VxWorks PIC because there is no
62
   fixed gap between segments.  */
63
#undef ASM_PREFERRED_EH_DATA_FORMAT

powered by: WebSVN 2.1.0

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