Rev 9557 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9557 | Rev 9558 | ||
---|---|---|---|
Line 267... | Line 267... | ||
267 | me->imp_table = imp_sect; |
267 | me->imp_table = imp_sect; |
Line 268... | Line 268... | ||
268 | 268 | ||
269 | tcc_free(str_arr); |
269 | tcc_free(str_arr); |
270 | tcc_free(len_arr); |
270 | tcc_free(len_arr); |
- | 271 | tcc_free(sym_arr); |
|
271 | tcc_free(sym_arr); |
272 | |
Line -... | Line 273... | ||
- | 273 | } |
|
- | 274 | ||
272 | } |
275 | |
273 | 276 | ||
274 | void kx_init(me_info* me) { |
277 | void kx_init(me_info* me) { |
275 | ElfW(Sym) *sym; |
278 | ElfW(Sym) *sym; |
276 | int sym_index = 1, sym_end = symtab_section->data_offset / sizeof(ElfW(Sym)); |
279 | int sym_index = 1, sym_end = symtab_section->data_offset / sizeof(ElfW(Sym)); |
Line 321... | Line 324... | ||
321 | /* |
324 | /* |
322 | Calling once from tcc_set_lib_path_xxx |
325 | Calling once from tcc_set_lib_path_xxx |
323 | This function correct tcc_root if tcc_root/kx is a run directory, |
326 | This function correct tcc_root if tcc_root/kx is a run directory, |
324 | otherwise do trim filename |
327 | otherwise do trim filename |
325 | */ |
328 | */ |
326 | #if 0 |
- | |
327 | void kx_fix_root_directory(char *buf, size_t size) { |
329 | void kx_fix_root_directory(char *buf, size_t size) { |
Line 328... | Line 330... | ||
328 | 330 | ||
329 | int defult = 1; |
331 | int defult = 1; |
330 | char* tcc_conf = tcc_malloc(strlen(buf)+5); |
332 | char* tcc_conf = tcc_malloc(strlen(buf)+5); |
Line 362... | Line 364... | ||
362 | 364 | ||
363 | *--base = 0; |
365 | *--base = 0; |
Line 364... | Line 366... | ||
364 | } |
366 | } |
365 | 367 | ||
366 | tcc_free(tcc_conf); |
368 | tcc_free(tcc_conf); |
367 | kx_debug_output("tcc root = %s\n", buf); |
- |