ref: 5e809c5e93c43d9fe8c2829f91651eb341e5e58e
dir: /ld/ld.h/
typedef struct obj Obj; typedef struct symbol Symbol; struct obj { char *fname; char *member; FILE *fp; void *filhdr; void *scnhdr; void *enthdr; char *strtbl; struct obj *next; }; struct symbol { char *name; struct symbol *hash; }; struct objfile { int (*probe)(char *fname, char *member, FILE *fp); void (*pass1)(char *fname, char *member, FILE *fp); void (*pass2)(char *fname, char *member, FILE *fp); }; /* obj.c */ extern Obj *newobj(char *fname, char *member); extern Symbol *lookup(char *name); /* main.c */ extern void outmem(void);