Mercurial > hg > qcc
changeset 330:f1ffe1bfce25
[project @ 2004-10-27 21:29:50 by bellard]
compile fix
author | bellard |
---|---|
date | Wed, 27 Oct 2004 21:29:50 +0000 |
parents | 91d943f7e9f9 |
children | 417ae7104677 |
files | tcccoff.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tcccoff.c Wed Oct 27 21:24:42 2004 +0000 +++ b/tcccoff.c Wed Oct 27 21:29:50 2004 +0000 @@ -82,6 +82,7 @@ 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 @@ // create all the section headers - int i, NSectionsToOutput = 0; - file_pointer = FILHSZ + sizeof(AOUTHDR); CoffTextSectionNo = -1;