History

compile fix

bellard committed 22 years ago

Commit 32ba2ea1 parent 3e74b911 file · +1 −2Browse files

Unified · Split

tcccoff.c+1−2
@@ -82,6 +82,7 @@ int tcc_output_coff(TCCState *s1, FILE *f) · 81 unmodified lines
8282 int CoffTextSectionNo, coff_nb_syms;
8383 FILHDR file_hdr; /* FILE HEADER STRUCTURE */
8484 Section *stext, *sdata, *sbss;
85+ int i, NSectionsToOutput = 0;
8586
8687 stext = FindSection(s1, ".text");
8788 sdata = FindSection(s1, ".data");
@@ -108,8 +109,6 @@ int tcc_output_coff(TCCState *s1, FILE *f) · 20 unmodified lines
108109
109110 // create all the section headers
110111
111− int i, NSectionsToOutput = 0;
112−
113112 file_pointer = FILHSZ + sizeof(AOUTHDR);
114113
115114 CoffTextSectionNo = -1;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t