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
82 int CoffTextSectionNo, coff_nb_syms;82 int CoffTextSectionNo, coff_nb_syms;
83 FILHDR file_hdr; /* FILE HEADER STRUCTURE */83 FILHDR file_hdr; /* FILE HEADER STRUCTURE */
84 Section *stext, *sdata, *sbss;84 Section *stext, *sdata, *sbss;
85 int i, NSectionsToOutput = 0;
85 86
86 stext = FindSection(s1, ".text");87 stext = FindSection(s1, ".text");
87 sdata = FindSection(s1, ".data");88 sdata = FindSection(s1, ".data");
@@ -108,8 +109,6 @@ int tcc_output_coff(TCCState *s1, FILE *f) · 20 unmodified lines
108 109
109 // create all the section headers110 // create all the section headers
110 111
111 int i, NSectionsToOutput = 0;
112
113 file_pointer = FILHSZ + sizeof(AOUTHDR);112 file_pointer = FILHSZ + sizeof(AOUTHDR);
114 113
115 CoffTextSectionNo = -1;114 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