diff options
| author | Charles.Forsyth <devnull@localhost> | 2006-12-22 21:39:35 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2006-12-22 21:39:35 +0000 |
| commit | 74a4d8c26dd3c1e9febcb717cfd6cb6512991a7a (patch) | |
| tree | c6e220ba61db3a6ea4052e6841296d829654e664 /utils/5coff/auxi.h | |
| parent | 46439007cf417cbd9ac8049bb4122c890097a0fa (diff) | |
20060303
Diffstat (limited to 'utils/5coff/auxi.h')
| -rw-r--r-- | utils/5coff/auxi.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/utils/5coff/auxi.h b/utils/5coff/auxi.h new file mode 100644 index 00000000..e9907523 --- /dev/null +++ b/utils/5coff/auxi.h @@ -0,0 +1,46 @@ +#define COFFCVT +#define Sym Symx +#include "../5l/l.h" +#undef Sym +#include <mach.h> + +/* + * auxi.c + */ +extern Symx *hash[NHASH]; +Symx *lookupsym(char*, int); +void beginsym(void); +void endsym(void); +void newsym(int, char*, long, int); + +extern long autosize; +extern Prog *firstp, *textp, *curtext, *lastp, *etextp; + +/* + * coff.c + */ +void coffhdr(void); +void coffsym(void); +void cofflc(void); +void endsym(void); + +/* + * 5coff.c + */ +void cflush(void); +void lput(long); +void cput(int); +void hputl(int); +void lputl(long); +long entryvalue(void); +void diag(char*, ...); +extern long HEADR; /* length of header */ +extern long INITDAT; /* data location */ +extern long INITRND; /* data round above text location */ +extern long INITTEXT; /* text location */ +extern long INITENTRY; /* entry point */ +extern long textsize; +extern long datsize; +extern long bsssize; +extern int cout; +extern int thumb; |
