1/* Copyright (c) 1982 Regents of the University of California */ 2 3static char sccsid[] = "@(#)objsym.rep 1.1 01/18/82"; 4 5/* 6 * This file contains the definition of the representation of a 7 * symbol in the object file. The major difference is that pointers 8 * are represented as short integers. 9 */ 10 11typedef struct { 12 short strindex; 13 char oclass; 14 char oblkno; 15 short typno; 16 short chno; 17 union { 18 int offset; /* variable address */ 19 long iconval; /* integer constant value */ 20 double fconval; /* floating constant value */ 21 struct { /* range bounds */ 22 long lower; 23 long upper; 24 } orangev; 25 struct { /* address of function value, code */ 26 int offset; 27 ADDRESS codeloc; 28 } ofuncv; 29 struct { /* variant record info */ 30 int size; 31 short vtorecno; 32 short vtagno; 33 } ovarnt; 34 } osymvalue; 35} OBJSYM; 36