Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/rs6000/xcoff.h @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
52:c156f1bd5cd9 | 55:77e2b8dfacca |
---|---|
68 /* Return nonzero if this entry is to be written into the constant | 68 /* Return nonzero if this entry is to be written into the constant |
69 pool in a special way. We do so if this is a SYMBOL_REF, LABEL_REF | 69 pool in a special way. We do so if this is a SYMBOL_REF, LABEL_REF |
70 or a CONST containing one of them. If -mfp-in-toc (the default), | 70 or a CONST containing one of them. If -mfp-in-toc (the default), |
71 we also do this for floating-point constants. We actually can only | 71 we also do this for floating-point constants. We actually can only |
72 do this if the FP formats of the target and host machines are the | 72 do this if the FP formats of the target and host machines are the |
73 same, but we can't check that since not every file that uses | 73 same, but we can't check that since not every file that uses these |
74 GO_IF_LEGITIMATE_ADDRESS_P includes real.h. We also do this when | 74 target macros includes real.h. We also do this when we can write the |
75 we can write the entry into the TOC and the entry is not larger | 75 entry into the TOC and the entry is not larger than a TOC entry. */ |
76 than a TOC entry. */ | |
77 | 76 |
78 #define ASM_OUTPUT_SPECIAL_POOL_ENTRY_P(X, MODE) \ | 77 #define ASM_OUTPUT_SPECIAL_POOL_ENTRY_P(X, MODE) \ |
79 (TARGET_TOC \ | 78 (TARGET_TOC \ |
80 && (GET_CODE (X) == SYMBOL_REF \ | 79 && (GET_CODE (X) == SYMBOL_REF \ |
81 || (GET_CODE (X) == CONST && GET_CODE (XEXP (X, 0)) == PLUS \ | 80 || (GET_CODE (X) == CONST && GET_CODE (XEXP (X, 0)) == PLUS \ |
189 in_section = NULL; \ | 188 in_section = NULL; \ |
190 switch_to_section (function_section (DECL)); \ | 189 switch_to_section (function_section (DECL)); \ |
191 putc ('.', FILE); \ | 190 putc ('.', FILE); \ |
192 RS6000_OUTPUT_BASENAME (FILE, buffer); \ | 191 RS6000_OUTPUT_BASENAME (FILE, buffer); \ |
193 fputs (":\n", FILE); \ | 192 fputs (":\n", FILE); \ |
194 if (write_symbols != NO_DEBUG) \ | 193 if (write_symbols != NO_DEBUG && !DECL_IGNORED_P (DECL)) \ |
195 xcoffout_declare_function (FILE, DECL, buffer); \ | 194 xcoffout_declare_function (FILE, DECL, buffer); \ |
196 } | 195 } |
197 | 196 |
198 /* Output a reference to SYM on FILE. */ | 197 /* Output a reference to SYM on FILE. */ |
199 | 198 |