Unified · Split
| @@ -84,6 +84,8 @@ int tcc_output_coff(TCCState *s1, FILE *f) · 83 unmodified lines | ||
| 84 | 84 | Section *stext, *sdata, *sbss; |
| 85 | 85 | int i, NSectionsToOutput = 0; |
| 86 | 86 | |
| 87 | + Coff_str_table = pCoff_str_table = NULL; | |
| 88 | + | |
| 87 | 89 | stext = FindSection(s1, ".text"); |
| 88 | 90 | sdata = FindSection(s1, ".data"); |
| 89 | 91 | sbss = FindSection(s1, ".bss"); |
| @@ -509,7 +509,9 @@ static void relocate_section(TCCState *s1, Section *s) · 508 unmodified lines | ||
| 509 | 509 | int type, sym_index; |
| 510 | 510 | unsigned char *ptr; |
| 511 | 511 | unsigned long val, addr; |
| 512 | +#if defined TCC_TARGET_I386 || defined TCC_TARGET_X86_64 | |
| 512 | 513 | int esym_index; |
| 514 | +#endif | |
| 513 | 515 | |
| 514 | 516 | sr = s->reloc; |
| 515 | 517 | rel_end = (ElfW_Rel *)(sr->data + sr->data_offset); |