2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
11 * sym - symbol table definitions, VRMIX kernel pseudo-TOC
16 unsigned long long n_value
;
19 int _n_offset
; /* offset into string table */
21 char *_n_nptr
; /* Allows for overlaying */
23 #else /* __XCOFF64__ */
25 char _n_name
[8]; /* old COFF version */
27 int _n_zeroes
; /* new == 0 */
28 int _n_offset
; /* offset into string table */
30 char *_n_nptr
[2]; /* allows for overlaying */
32 int n_value
; /* value of symbol */
33 #endif /* __XCOFF64__ */
36 #define n_nptr _n._n_nptr
38 #define n_name _n._n_name
39 #define n_nptr _n._n_nptr[1]
40 #define n_zeroes _n._n_n._n_zeroes
42 #define n_offset _n._n_n._n_offset
44 typedef struct toc_syment sym_t
;
46 extern struct toc_syment
*toc_syms
; /* symbol table */
47 extern caddr_t toc_strs
; /* string table */
48 extern toc_nsyms
; /* # symbols */
49 extern sym_t
*sym_flex();
50 extern sym_t
*sym_lookup();