1 /* globvar.h - global variables for linker */ 2 3 /* Copyright (C) 1994 Bruce Evans */ 4 5 #ifndef EXTERN 6 #define EXTERN 7 #endif 8 EXTERN unsigned errcount; /* count of errors */ 9 EXTERN struct entrylist *entryfirst; /* first on list of entry symbols */ 10 EXTERN struct modstruct *modfirst; /* data for 1st module */ 11 EXTERN struct redlist *redfirst; /* first on list of redefined symbols */ 12 13 /* K&R _explicitly_ says extern followed by public is OK */ 14 extern char hexdigit[]; /* constant */ 15 extern int headerless; /* Don't output header on exe */ 16 #ifndef VERY_SMALL_MEMORY 17 extern int v7; /* Generate an UNIX v7 a.out header */ 18 #endif 19 #ifndef MSDOS 20 extern int cpm86; /* Generate CP/M-86 CMD header */ 21 #endif 22 23 extern bin_off_t text_base_value; /* Base address of text seg */ 24 extern bin_off_t data_base_value; /* Base or alignment of data seg */ 25 extern bin_off_t heap_top_value; /* Minimum 'total' value in x86 header */ 26