Rev 9284 | Rev 9557 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9284 | Rev 9545 | ||
---|---|---|---|
Line 300... | Line 300... | ||
300 | memset(&me,0,sizeof(me)); |
300 | memset(&me,0,sizeof(me)); |
301 | me.s1=s1; |
301 | me.s1=s1; |
302 | #ifdef TCC_TARGET_KX |
302 | #ifdef TCC_TARGET_KX |
303 | kx_init(&me); |
303 | kx_init(&me); |
304 | #endif |
304 | #endif |
- | 305 | if (s1->output_type != TCC_OUTPUT_OBJ && !s1->nostdlib){ |
|
- | 306 | tcc_add_library_err(s1, "tcc1"); |
|
- | 307 | } |
|
- | 308 | ||
305 | relocate_common_syms(); |
309 | relocate_common_syms(); |
306 | assign_addresses(&me); |
310 | assign_addresses(&me); |
- | 311 | ||
307 | #ifndef TCC_TARGET_KX |
312 | #ifndef TCC_TARGET_KX |
308 | if(undef_sym_flag){ |
313 | if(undef_sym_flag){ |
309 | tcc_error("Linker error!"); |
314 | tcc_error("Linker error!"); |
310 | } |
315 | } |
311 | #endif |
316 | #endif |