File:  [CSRG BSD Unix] / 42BSD / ucb / pascal / pdx / object / objsym.rep
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD42
BSD 4.2

/* Copyright (c) 1982 Regents of the University of California */

/* static char sccsid[] = "@(#)objsym.rep 1.3 2/10/82"; */

/*
 * This file contains the definition of the representation of symbolic
 * information in the object file.  The difference from this and memory
 * is that pointers are represented as short integers and line number
 * information is stored relatively where the base is found in the
 * file information.
 */

typedef struct {
    short strindex;
    char oclass;
    char oblkno;
    short typno;
    short chno;
    union {
	int offset;     /* variable address */
	long iconval;       /* integer constant value */
	double fconval;     /* floating constant value */
	struct {        /* range bounds */
	    long lower;
	    long upper;
	} orangev;
	struct {        /* address of function value, code */
	    int offset;
	    ADDRESS codeloc;
	} ofuncv;
	struct {        /* variant record info */
	    int size;
	    short vtorecno;
	    short vtagno;
	} ovarnt;
    } osymvalue;
} OBJSYM;

typedef union {
    long together;
    struct {
	short lineincr;
	unsigned short addrincr;
    } separate;
} OBJLINE;

unix.superglobalmegacorp.com

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