1 #define OUT_CS 0x0001 /* code segment symbol */
2 #define OUT_DS 0x0002 /* data segment symbol */
3 #define OUT_BSS 0x0004 /* bss segment symbol */
5 #define OUT_GLOB 0x0010 /* global symbol */
7 #define OUT_REL 0x0100 /* relative relocation */
8 #define OUT_REL24 0x0200 /* 24-bit relative relocation */
10 void out_init(int flags
);
12 void out_sym(char *name
, int flags
, int off
, int len
);
13 void out_rel(char *name
, int flags
, int off
);
15 void out_write(int fd
, char *cs
, int cslen
, char *ds
, int dslen
);