comparison src/readfiles.c @ 310:3476629ee0ce

Fixed error reading external references
author lost
date Sat, 24 Jan 2009 02:22:13 +0000
parents 34203598be6d
children
comparison
equal deleted inserted replaced
309:34203598be6d 310:3476629ee0ce
201 // val is now the symbol value 201 // val is now the symbol value
202 202
203 // create symbol table entry 203 // create symbol table entry
204 se = lw_malloc(sizeof(symtab_t)); 204 se = lw_malloc(sizeof(symtab_t));
205 se -> next = s -> exportedsyms; 205 se -> next = s -> exportedsyms;
206 s -> localsyms = se; 206 s -> exportedsyms = se;
207 se -> sym = fp; 207 se -> sym = fp;
208 se -> offset = val; 208 se -> offset = val;
209 } 209 }
210 // skip terminating NUL 210 // skip terminating NUL
211 NEXTBYTE(); 211 NEXTBYTE();