Mercurial > hg-old > index.cgi
comparison src/readfiles.c @ 309:34203598be6d
Fixed reading object file incomplete references table
author | lost |
---|---|
date | Fri, 23 Jan 2009 05:49:16 +0000 |
parents | ecc092adc0be |
children | 3476629ee0ce |
comparison
equal
deleted
inserted
replaced
308:ecc092adc0be | 309:34203598be6d |
---|---|
270 exit(1); | 270 exit(1); |
271 } | 271 } |
272 lw_expr_stack_push(rp -> expr, term); | 272 lw_expr_stack_push(rp -> expr, term); |
273 lw_expr_term_free(term); | 273 lw_expr_term_free(term); |
274 } | 274 } |
275 // skip the NUL | |
276 NEXTBYTE(); | |
277 | |
278 // fetch the offset | |
279 rp -> offset = CURBYTE() << 8; | |
280 NEXTBYTE(); | |
281 rp -> offset |= CURBYTE() & 0xff; | |
282 NEXTBYTE(); | |
275 } | 283 } |
276 // skip the NUL terminating the relocations | 284 // skip the NUL terminating the relocations |
277 NEXTBYTE(); | 285 NEXTBYTE(); |
278 | 286 |
279 // now set code location and size and verify that the file | 287 // now set code location and size and verify that the file |