/[tinycc]/tinycc/tcc.c
ViewVC logotype

Diff of /tinycc/tcc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.141 by bellard, Sun Jul 20 18:44:29 2003 UTC revision 1.142 by bellard, Sun Jul 20 19:19:59 2003 UTC
# Line 9115  int tcc_run(TCCState *s1, int argc, char Line 9115  int tcc_run(TCCState *s1, int argc, char
9115      if (tcc_relocate(s1) < 0)      if (tcc_relocate(s1) < 0)
9116          return -1;          return -1;
9117    
9118      prog_main = tcc_get_symbol(s1, "main");      prog_main = tcc_get_symbol_err(s1, "main");
9119            
9120      if (do_debug) {      if (do_debug) {
9121  #ifdef WIN32  #ifdef WIN32
# Line 9140  int tcc_run(TCCState *s1, int argc, char Line 9140  int tcc_run(TCCState *s1, int argc, char
9140          void (*bound_init)(void);          void (*bound_init)(void);
9141    
9142          /* set error function */          /* set error function */
9143          rt_bound_error_msg = (void *)tcc_get_symbol(s1, "__bound_error_msg");          rt_bound_error_msg = (void *)tcc_get_symbol_err(s1,
9144                                                            "__bound_error_msg");
9145    
9146          /* XXX: use .init section so that it also work in binary ? */          /* XXX: use .init section so that it also work in binary ? */
9147          bound_init = (void *)tcc_get_symbol(s1, "__bound_init");          bound_init = (void *)tcc_get_symbol_err(s1, "__bound_init");
9148          bound_init();          bound_init();
9149      }      }
9150  #endif  #endif

Legend:
Removed from v.1.141  
changed lines
  Added in v.1.142

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26