comparison src/unexhp9k800.c @ 280:7df0dd720c89 r21-0b38

Import from CVS: tag r21-0b38
author cvs
date Mon, 13 Aug 2007 10:32:22 +0200
parents c5d627a313b1
children 57709be46d1b
comparison
equal deleted inserted replaced
279:c20b2fb5bb0a 280:7df0dd720c89
82 #include <dl.h> /* User-space dynamic loader entry points */ 82 #include <dl.h> /* User-space dynamic loader entry points */
83 void Save_Shared_Data(); 83 void Save_Shared_Data();
84 int run_time_remap(); 84 int run_time_remap();
85 #endif 85 #endif
86 86
87 #define roundup(x,n) ( ( (x)+(n-1) ) & ~(n-1) ) /* n is power of 2 */
88 #define min(x,y) ( ((x)<(y))?(x):(y) ) 87 #define min(x,y) ( ((x)<(y))?(x):(y) )
89 88
90 void write_header(int file, struct header *hdr, struct som_exec_auxhdr *auxhdr); 89 void write_header(int file, struct header *hdr, struct som_exec_auxhdr *auxhdr);
91 void read_header (int file, struct header *hdr, struct som_exec_auxhdr *auxhdr); 90 void read_header (int file, struct header *hdr, struct som_exec_auxhdr *auxhdr);
92 void save_data_space (int file, struct header *hdr, 91 void save_data_space (int file, struct header *hdr,