Annotation of researchv9/jerq/sgs/ld/extrns.h, revision 1.1.1.1

1.1       root        1: /*
                      2:   static char ID[] = "@(#) extrns.h: 1.11 8/18/83";
                      3:  */
                      4: 
                      5: #ifndef PAGING
                      6: #      define PAGING   0
                      7: #endif
                      8: 
                      9: extern char **argptr;          /* pointer to main arg list and arg */
                     10: extern int argcnt;             /*      count (argv,argc values     */
                     11: 
                     12: extern int lineno;             /* line number of ifile being parsed */
                     13: extern char *curfilnm;         /* ptr to current input file name */
                     14: extern char aflag, dflag, cflag, iflag, mflag, rflag, sflag,
                     15: #if UNIX || XL
                     16:                                        xflag,
                     17: #endif
                     18: #if COMMON
                     19:                                        tflag, Mflag,
                     20: #endif
                     21: #if PAGING
                     22:                                        Fflag, 
                     23: #endif
                     24: #if PAGING
                     25:                                        zflag,
                     26: #endif
                     27: #if ILDOPT
                     28:        ildflag,
                     29: #endif
                     30:            tvflag, Hflag, Nflag, Sflag, Vflag, Xflag;
                     31: extern int hflag, pflag, Bflag;
                     32: extern unsigned short VSflag;
                     33: extern short globfill;         /* default fill value */
                     34: extern short usrdeftv;         /* .tv input sections or SECTION */
                     35: extern short errlev;           /* error level */
                     36: #if PAGING
                     37: extern short bond_t_d;         /* text and data must be bound */
                     38: #endif
                     39: extern unsigned short magic;   /* magic number to be matched. */
                     40: 
                     41: extern struct listown ldfilist;        /* head of the LDFILE List      */
                     42: extern struct listown bldoutsc;        /* head of the BLDOUTSEC List   */
                     43: extern struct listown bondlist;        /* head of the BONDLIST         */
                     44: extern struct listown ownlist; /* head of the OWNLIST          */
                     45: extern struct listown atownlst;        /* head of the ATTOWN List      */
                     46: extern struct listown memlist; /* head of the MEMLIST          */
                     47: extern struct listown reglist; /* head of the REGLIST          */
                     48: extern struct listown infilist;        /* head of the INFILE List      */
                     49: extern struct listown outsclst;        /* head of the OUTSEC List      */
                     50: extern struct listown explist; /* head of the expression List  */
                     51: extern struct listown symlist; /* head of the symbol list      */
                     52: extern struct listown avlist;  /* head of the avail space list */
                     53: extern struct listown dsectlst;        /* head of the dsect list       */
                     54: 
                     55: #if !ONEPROC
                     56: extern int symcnt, memcnt, regcnt, ldfcnt, bldcnt, expcnt;
                     57: 
                     58: extern char trnname[];         /* name of the PASS 1 -> PASS 2 */
                     59: extern FILE *trnfdes;          /* transfer file                */
                     60: #if AR16WR
                     61: extern char *trnfbuf;
                     62: #endif
                     63: #endif
                     64: 
                     65: extern char *strbase, *strnext, *strlimit;
                     66: extern int strleng;
                     67: 
                     68: extern char outfilnm[];                /* name of output object file */
                     69: extern char epsymbol[];                /* a.out header entry point symbol */
                     70: extern int numoutsc;           /* number of output sections */
                     71: extern long noutsyms;          /* number of symbol entries written */
                     72: 
                     73: #if PORTAR
                     74: extern long ar_size;           /* size of archive .o */
                     75: #endif
                     76: #if FLEXNAMES
                     77: extern long tnumsyms;          /* total number of symbols in output file */
                     78: extern long stroffset;         /* offset of a string in string table */
                     79: #endif
                     80: 
                     81: extern long cur_dot;           /* current value of "dot" symbol */
                     82: extern ACTITEM *curexp;                /* current expression being evaluated */
                     83: extern long maxlcsms;          /* max no. of local symbols for an input file */
                     84: extern long symtborg;          /* file address of symbol table in output file */
                     85: extern long    allocspc,       /* amount of space allocated by myalloc;*/
                     86:                maxalloc;       /* used for statistics only */
                     87: extern int yydebug;
                     88: #if DMERT || XL
                     89: extern int dmertplib;
                     90: #endif
                     91: extern ADDRESS memorg;
                     92: 
                     93: 
                     94: 
                     95: 
                     96: 
                     97: extern long     alignment();
                     98: extern ITEMID   allocate();
                     99: extern ACTITEM *bldadfil();
                    100: extern ENODE   *buildtree();
                    101: extern ENODE   *cnstnode();
                    102: extern ACTITEM *dfnscngrp();
                    103: extern long     eval();
                    104: extern ANODE   *findnode();
                    105: extern OUTSECT *findoscn();
                    106: extern ANODE   *findsanode();
                    107: extern AUXTAB  *findaux();
                    108: extern SYMTAB  *findsym();
                    109: extern INFILE  *fndinfil();
                    110: extern OUTSECT *fndoutsec();
                    111: extern AUXTAB  *getaux();
                    112: extern SYMTAB  *getsym();
                    113: #if !ONEPROC
                    114: extern ACTITEM *ldexp();
                    115: #endif
                    116: extern AUXTAB  *loopaux();
                    117: extern SYMTAB  *loopsym();
                    118: extern AUXTAB  *makeaux();
                    119: extern SYMTAB  *makesym();
                    120: extern char    *myalloc();
                    121: extern ANODE   *newnode();
                    122: extern REGION  *newregion();
                    123: extern long     plocsyms();
                    124: extern OUTSECT *proc_dfn_ai();
                    125: extern long     psymtab();
                    126: extern char    *savefn();
                    127: extern INSECT  *sectnum();
                    128: extern char    *sname();
                    129: extern ANODE   *splitnode();
                    130: extern long     swapb4();
                    131: extern ENODE   *symnode();
                    132: extern char    *zero();
                    133: extern char    *strncpy();
                    134: extern char    *strtabread( );

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.