comparison src/unexcw.c @ 380:8626e4521993 r21-2-5

Import from CVS: tag r21-2-5
author cvs
date Mon, 13 Aug 2007 11:07:10 +0200
parents cc15677e0335
children 74fd4e045ea6
comparison
equal deleted inserted replaced
379:76b7d63099ad 380:8626e4521993
243 243
244 int i; 244 int i;
245 void* empty_space; 245 void* empty_space;
246 extern int static_heap_dumped; 246 extern int static_heap_dumped;
247 SCNHDR section; 247 SCNHDR section;
248 /* calculate new sizes f_ohdr.dsize is the total initalized data 248 /* calculate new sizes f_ohdr.dsize is the total initialized data
249 size on disk which is f_data.s_size + f_idata.s_size. 249 size on disk which is f_data.s_size + f_idata.s_size.
250 f_ohdr.data_start is the base addres of all data and so should 250 f_ohdr.data_start is the base addres of all data and so should
251 not be changed. *.s_vaddr is the virtual address of the start 251 not be changed. *.s_vaddr is the virtual address of the start
252 of the section normalzed from f_ohdr.ImageBase. *.s_paddr 252 of the section normalzed from f_ohdr.ImageBase. *.s_paddr
253 appears to be the number of bytes in the section actually used 253 appears to be the number of bytes in the section actually used