Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/sparc/vxworks.h @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | a06113de4d67 |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
1 /* Definitions of target machine for GNU compiler, | 1 /* Definitions of target machine for GNU compiler, |
2 for SPARC targeting the VxWorks run time environment. | 2 for SPARC targeting the VxWorks run time environment. |
3 Copyright (C) 2007 Free Software Foundation, Inc. | 3 Copyright (C) 2007, 2010, 2011 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GCC. | 5 This file is part of GCC. |
6 | 6 |
7 GCC is free software; you can redistribute it and/or modify | 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 | 8 it under the terms of the GNU General Public License as published by |
25 builtin_define ("CPU=SIMSPARCSOLARIS"); \ | 25 builtin_define ("CPU=SIMSPARCSOLARIS"); \ |
26 VXWORKS_OS_CPP_BUILTINS (); \ | 26 VXWORKS_OS_CPP_BUILTINS (); \ |
27 } \ | 27 } \ |
28 while (0) | 28 while (0) |
29 | 29 |
30 #undef OVERRIDE_OPTIONS | 30 #undef SUBTARGET_OVERRIDE_OPTIONS |
31 #define OVERRIDE_OPTIONS \ | 31 #define SUBTARGET_OVERRIDE_OPTIONS VXWORKS_OVERRIDE_OPTIONS |
32 do \ | |
33 { \ | |
34 VXWORKS_OVERRIDE_OPTIONS; \ | |
35 sparc_override_options (); \ | |
36 } \ | |
37 while (0) | |
38 | 32 |
39 #undef CPP_SUBTARGET_SPEC | 33 #undef CPP_SUBTARGET_SPEC |
40 #define CPP_SUBTARGET_SPEC VXWORKS_ADDITIONAL_CPP_SPEC | 34 #define CPP_SUBTARGET_SPEC VXWORKS_ADDITIONAL_CPP_SPEC |
35 | |
36 #undef ASM_SPEC | |
37 #define ASM_SPEC "%{fpic|fPIC|fpie|fPIE:-K PIC} %(asm_cpu)" | |
41 | 38 |
42 #undef LIB_SPEC | 39 #undef LIB_SPEC |
43 #define LIB_SPEC VXWORKS_LIB_SPEC | 40 #define LIB_SPEC VXWORKS_LIB_SPEC |
44 #undef LINK_SPEC | 41 #undef LINK_SPEC |
45 #define LINK_SPEC VXWORKS_LINK_SPEC | 42 #define LINK_SPEC VXWORKS_LINK_SPEC |