Mercurial > hg > xemacs-beta
diff src/unexnt.c @ 388:aabb7f5b1c81 r21-2-9
Import from CVS: tag r21-2-9
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:09:42 +0200 |
parents | c6de09ad3017 |
children | 74fd4e045ea6 |
line wrap: on
line diff
--- a/src/unexnt.c Mon Aug 13 11:08:51 2007 +0200 +++ b/src/unexnt.c Mon Aug 13 11:09:42 2007 +0200 @@ -549,7 +549,7 @@ static void dump_bss_and_heap (file_data *p_infile, file_data *p_outfile) { - unsigned char *heap_data, *bss_data; + unsigned char *heap_data; unsigned long size, index; DUMP_MSG (("Dumping heap onto end of executable...\n")); @@ -565,16 +565,15 @@ memcpy ((PUCHAR) p_outfile->file_base + index, heap_data, size); #ifndef DUMP_SEPARATE_SECTION - printf ("Dumping bss onto end of executable...\n"); + DUMP_MSG (("Dumping bss onto end of executable...\n")); index += size; size = bss_size; - bss_data = bss_start; - DUMP_MSG (("\t0x%08x BSS start in process.\n", bss_data)); + DUMP_MSG (("\t0x%08x BSS start in process.\n", bss_start)); DUMP_MSG (("\t0x%08x BSS offset in executable.\n", index)); DUMP_MSG (("\t0x%08x BSS size in bytes.\n", size)); - memcpy ((char *) p_outfile->file_base + index, bss_data, size); + memcpy ((char *) p_outfile->file_base + index, bss_start, size); #endif }