Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/mips/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 /* Copyright (C) 1999, 2003, 2004, 2007, 2008 Free Software Foundation, Inc. | 1 /* Copyright (C) 1999, 2003, 2004, 2007, 2008, 2010, 2011 |
2 Free Software Foundation, Inc. | |
2 | 3 |
3 This file is part of GCC. | 4 This file is part of GCC. |
4 | 5 |
5 GCC is free software; you can redistribute it and/or modify | 6 GCC is free software; you can redistribute it and/or modify |
6 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
17 <http://www.gnu.org/licenses/>. */ | 18 <http://www.gnu.org/licenses/>. */ |
18 | 19 |
19 #undef TARGET_VERSION | 20 #undef TARGET_VERSION |
20 #define TARGET_VERSION fprintf (stderr, " (MIPS, VxWorks syntax)"); | 21 #define TARGET_VERSION fprintf (stderr, " (MIPS, VxWorks syntax)"); |
21 | 22 |
22 /* Combination of mips.h and svr4.h. */ | |
23 #undef SWITCH_TAKES_ARG | |
24 #define SWITCH_TAKES_ARG(CHAR) \ | |
25 (DEFAULT_SWITCH_TAKES_ARG (CHAR) \ | |
26 || (CHAR) == 'G' \ | |
27 || (CHAR) == 'h' \ | |
28 || (CHAR) == 'x' \ | |
29 || (CHAR) == 'z') | |
30 | |
31 #undef ASM_SPEC | 23 #undef ASM_SPEC |
32 #define ASM_SPEC "\ | 24 #define ASM_SPEC "\ |
33 %{!G:-G 0} %{G*} %(endian_spec) %{mips1} %{mips2} %{mips3} %{mips4} \ | 25 %{!G:-G 0} %{G*} %(endian_spec) %{mips1} %{mips2} %{mips3} %{mips4} \ |
34 %{mips32} %{mips32r2} %{mips64} \ | 26 %{mips32} %{mips32r2} %{mips64} \ |
35 %{mips16:%{!mno-mips16:-mips16}} %{mno-mips16:-no-mips16} \ | 27 %{mips16:%{!mno-mips16:-mips16}} %{mno-mips16:-no-mips16} \ |
36 %(subtarget_asm_optimizing_spec) \ | 28 %(subtarget_asm_optimizing_spec) \ |
37 %(subtarget_asm_debugging_spec) \ | 29 %(subtarget_asm_debugging_spec) \ |
38 %{mabi=*} %{!mabi*: %(asm_abi_default_spec)} \ | 30 %{mabi=*} %{!mabi*: %(asm_abi_default_spec)} \ |
39 %{mgp32} %{mgp64} %{march=*} %{mxgot:-xgot} \ | 31 %{mgp32} %{mgp64} %{march=*} %{mxgot:-xgot} \ |
40 %{mtune=*} %{v} \ | 32 %{mtune=*} \ |
41 %(subtarget_asm_spec)" | 33 %(subtarget_asm_spec)" |
42 | 34 |
43 #undef LINK_SPEC | 35 #undef LINK_SPEC |
44 /* LINK_SPEC is clobbered in svr4.h. ugh! */ | |
45 #define LINK_SPEC "\ | 36 #define LINK_SPEC "\ |
46 %(endian_spec) \ | 37 %(endian_spec) \ |
47 %{!G:-G 0} %{G*} %{mips1} %{mips2} %{mips3} %{mips4} %{mips32} %{mips64} \ | 38 %{!G:-G 0} %{G*} %{mips1} %{mips2} %{mips3} %{mips4} %{mips32} %{mips64} " \ |
48 %{bestGnum}" \ | |
49 VXWORKS_LINK_SPEC | 39 VXWORKS_LINK_SPEC |
50 | 40 |
51 #undef LIB_SPEC | 41 #undef LIB_SPEC |
52 #define LIB_SPEC VXWORKS_LIB_SPEC | 42 #define LIB_SPEC VXWORKS_LIB_SPEC |
53 #undef STARTFILE_SPEC | 43 #undef STARTFILE_SPEC |
86 #undef SUBTARGET_ASM_SPEC | 76 #undef SUBTARGET_ASM_SPEC |
87 #define SUBTARGET_ASM_SPEC "%{mrtp:%{fPIC|fpic:-mvxworks-pic}}" | 77 #define SUBTARGET_ASM_SPEC "%{mrtp:%{fPIC|fpic:-mvxworks-pic}}" |
88 | 78 |
89 #undef SUBTARGET_OVERRIDE_OPTIONS | 79 #undef SUBTARGET_OVERRIDE_OPTIONS |
90 #define SUBTARGET_OVERRIDE_OPTIONS VXWORKS_OVERRIDE_OPTIONS | 80 #define SUBTARGET_OVERRIDE_OPTIONS VXWORKS_OVERRIDE_OPTIONS |
81 | |
82 #undef DBX_REGISTER_NUMBER |