Changeset 458
- Timestamp:
- Jul 28, 2003, 12:29:26 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/gcc/config/i386/emx.c
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r457 r458 123 123 data_section (); 124 124 ASM_OUTPUT_ALIGN (asm_out_file, floor_log2 (PTR_SIZE)); 125 fprintf (asm_out_file, 125 fprintf (asm_out_file, 126 126 "\t.stabs\t\"___eh_frame__\",24,0,0,Lframe1\n" /* N_SETD */ 127 127 "\t.stabs\t\"___ehInit\",1,0,0,0\n"); /* N_UNDEF | N_EXT */ … … 146 146 147 147 const char * 148 gen_stdcall_suffix (decl) 149 tree decl; 148 gen_stdcall_suffix (tree decl) 150 149 { 151 150 int total = 0; … … 180 179 181 180 const char * 182 emx_remove_underscore (decl) 183 tree decl; 181 emx_remove_underscore (tree decl) 184 182 { 185 183 /* ??? This probably should use XSTR (XEXP (DECL_RTL (decl), 0), 0) instead … … 206 204 207 205 if (TREE_CODE (decl) == FUNCTION_DECL) 208 if (lookup_attribute ("stdcall", 209 TYPE_ATTRIBUTES (TREE_TYPE (decl)))) 210 XEXP (DECL_RTL (decl), 0) = 211 gen_rtx (SYMBOL_REF, Pmode, gen_stdcall_suffix (decl)); 212 else if (lookup_attribute ("optlink", 213 TYPE_ATTRIBUTES (TREE_TYPE (decl))) 214 || lookup_attribute ("system", 215 TYPE_ATTRIBUTES (TREE_TYPE (decl)))) 216 XEXP (DECL_RTL (decl), 0) = 217 gen_rtx (SYMBOL_REF, Pmode, emx_remove_underscore (decl)); 218 } 206 { 207 if (lookup_attribute ("stdcall", 208 TYPE_ATTRIBUTES (TREE_TYPE (decl)))) 209 XEXP (DECL_RTL (decl), 0) = 210 gen_rtx (SYMBOL_REF, Pmode, gen_stdcall_suffix (decl)); 211 else if (lookup_attribute ("optlink", 212 TYPE_ATTRIBUTES (TREE_TYPE (decl))) 213 || lookup_attribute ("system", 214 TYPE_ATTRIBUTES (TREE_TYPE (decl)))) 215 XEXP (DECL_RTL (decl), 0) = 216 gen_rtx (SYMBOL_REF, Pmode, emx_remove_underscore (decl)); 217 } 218 } -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.