comparison src/unexcw.c @ 410:de805c49cfc1 r21-2-35

Import from CVS: tag r21-2-35
author cvs
date Mon, 13 Aug 2007 11:19:21 +0200
parents 74fd4e045ea6
children 697ef44129c6
comparison
equal deleted inserted replaced
409:301b9ebbdf3b 410:de805c49cfc1
80 printf("we are at %lx, should be at %lx\n", \ 80 printf("we are at %lx, should be at %lx\n", \
81 lseek(a_out, 0, SEEK_CUR), a); \ 81 lseek(a_out, 0, SEEK_CUR), a); \
82 exit(-1); \ 82 exit(-1); \
83 } 83 }
84 84
85 void
86 unexec (char *out_name, char *in_name, void *start_data,
87 void * d1, void * d2);
85 /* Dump out .data and .bss sections into a new executable. */ 88 /* Dump out .data and .bss sections into a new executable. */
86 void unexec (char *out_name, char *in_name, void *start_data, 89 void unexec (char *out_name, char *in_name, void *start_data,
87 void * d1, void * d2) 90 void * d1, void * d2)
88 { 91 {
89 /* ugly nt hack - should be in lisp */ 92 /* ugly nt hack - should be in lisp */