Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/alpha/osf5.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 | b7f97abdc517 |
children |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
82 | 82 |
83 /* Under DEC OSF/1 V4, -p and -pg require -lprof1, and -lprof1 requires | 83 /* Under DEC OSF/1 V4, -p and -pg require -lprof1, and -lprof1 requires |
84 -lpdf. */ | 84 -lpdf. */ |
85 | 85 |
86 #define LIB_SPEC \ | 86 #define LIB_SPEC \ |
87 "%{p|pg:-lprof1%{pthread|threads:_r} -lpdf} %{a:-lprof2} \ | 87 "%{p|pg:-lprof1%{pthread|threads:_r} -lpdf} \ |
88 %{threads: -lpthreads} %{pthread|threads: -lpthread -lmach -lexc} -lc" | 88 %{threads: -lpthreads} %{pthread|threads: -lpthread -lmach -lexc} -lc" |
89 | 89 |
90 /* Pass "-G 8" to ld because Alpha's CC does. Pass -O3 if we are | 90 /* Pass "-G 8" to ld because Alpha's CC does. Pass -O3 if we are |
91 optimizing, -O1 if we are not. Pass -S to silence `weak symbol | 91 optimizing, -O1 if we are not. Pass -S to silence `weak symbol |
92 multiply defined' warnings. Pass -shared, -non_shared or | 92 multiply defined' warnings. Pass -shared, -non_shared or |
125 causes mips-tfile to fail. Passing -g to the assembler fixes this problem. | 125 causes mips-tfile to fail. Passing -g to the assembler fixes this problem. |
126 ??? Strictly speaking, we need -g only if the user specifies -g. Passing | 126 ??? Strictly speaking, we need -g only if the user specifies -g. Passing |
127 it always means that we get slightly larger than necessary object files | 127 it always means that we get slightly larger than necessary object files |
128 if the user does not specify -g. If we don't pass -g, then mips-tfile | 128 if the user does not specify -g. If we don't pass -g, then mips-tfile |
129 will need to be fixed to work in this case. Pass -O0 since some | 129 will need to be fixed to work in this case. Pass -O0 since some |
130 optimization are broken and don't help us anyway. Pass -nocpp because | 130 optimization are broken and don't help us anyway. */ |
131 there's no point in running CPP on our assembler output. */ | |
132 #if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & MASK_GAS) != 0 | 131 #if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & MASK_GAS) != 0 |
133 #define ASM_SPEC "%{malpha-as:-g " ASM_OLDAS_SPEC " -nocpp %{pg} -O0}" | 132 #define ASM_SPEC "%{malpha-as:-g " ASM_OLDAS_SPEC " %{pg} -O0}" |
134 #else | 133 #else |
135 #define ASM_SPEC "%{!mgas:-g " ASM_OLDAS_SPEC " -nocpp %{pg} -O0}" | 134 #define ASM_SPEC "%{!mgas:-g " ASM_OLDAS_SPEC " %{pg} -O0}" |
136 #endif | 135 #endif |
137 | 136 |
138 /* Specify to run a post-processor, mips-tfile after the assembler | 137 /* Specify to run a post-processor, mips-tfile after the assembler |
139 has run to stuff the ecoff debug information into the object file. | 138 has run to stuff the ecoff debug information into the object file. |
140 This is needed because the Alpha assembler provides no way | 139 This is needed because the Alpha assembler provides no way |
267 | 266 |
268 /* The native assembler doesn't understand parenthesis. */ | 267 /* The native assembler doesn't understand parenthesis. */ |
269 #define TARGET_ASM_OPEN_PAREN "" | 268 #define TARGET_ASM_OPEN_PAREN "" |
270 #define TARGET_ASM_CLOSE_PAREN "" | 269 #define TARGET_ASM_CLOSE_PAREN "" |
271 | 270 |
272 /* Handle #pragma weak and #pragma pack. */ | |
273 #define HANDLE_SYSV_PRAGMA 1 | |
274 | |
275 /* Handle #pragma extern_prefix. */ | 271 /* Handle #pragma extern_prefix. */ |
276 #define TARGET_HANDLE_PRAGMA_EXTERN_PREFIX 1 | 272 #define TARGET_HANDLE_PRAGMA_EXTERN_PREFIX 1 |
273 | |
274 #define MD_UNWIND_SUPPORT "config/alpha/osf5-unwind.h" |