mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-26 03:50:07 +08:00
compile fix
This commit is contained in:
parent
3e74b91de6
commit
32ba2eadf6
@ -82,6 +82,7 @@ int tcc_output_coff(TCCState *s1, FILE *f)
|
||||
int CoffTextSectionNo, coff_nb_syms;
|
||||
FILHDR file_hdr; /* FILE HEADER STRUCTURE */
|
||||
Section *stext, *sdata, *sbss;
|
||||
int i, NSectionsToOutput = 0;
|
||||
|
||||
stext = FindSection(s1, ".text");
|
||||
sdata = FindSection(s1, ".data");
|
||||
@ -108,8 +109,6 @@ int tcc_output_coff(TCCState *s1, FILE *f)
|
||||
|
||||
// create all the section headers
|
||||
|
||||
int i, NSectionsToOutput = 0;
|
||||
|
||||
file_pointer = FILHSZ + sizeof(AOUTHDR);
|
||||
|
||||
CoffTextSectionNo = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user