comparison src/unexhp9k800.c @ 286:57709be46d1b r21-0b41

Import from CVS: tag r21-0b41
author cvs
date Mon, 13 Aug 2007 10:35:03 +0200
parents 7df0dd720c89
children 74fd4e045ea6
comparison
equal deleted inserted replaced
285:9a3756523c1b 286:57709be46d1b
93 void copy_rest (int old, int new); 93 void copy_rest (int old, int new);
94 void copy_file (int old, int new, int size); 94 void copy_file (int old, int new, int size);
95 void update_file_ptrs(int file, struct header *hdr, 95 void update_file_ptrs(int file, struct header *hdr,
96 struct som_exec_auxhdr *auxhdr, 96 struct som_exec_auxhdr *auxhdr,
97 unsigned int location, int offset); 97 unsigned int location, int offset);
98 int calculate_checksum(struct header *hdr);
98 99
99 /* Create a new a.out file, same as old but with current data space */ 100 /* Create a new a.out file, same as old but with current data space */
100 int 101 int
101 unexec(char new_name[], /* name of the new a.out file to be created */ 102 unexec(char new_name[], /* name of the new a.out file to be created */
102 char old_name[], /* name of the old a.out file */ 103 char old_name[], /* name of the old a.out file */