summaryrefslogtreecommitdiffstats
path: root/include/nlist.h
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1994-12-23 22:32:48 +0000
committernate <nate@FreeBSD.org>1994-12-23 22:32:48 +0000
commite6af61899928da5edba3933e8271dd4345f6a689 (patch)
treee0f93c847c7ea2e5168def4a2788a414db142bcc /include/nlist.h
parent7f56eb7b93f7774321c3f5924447d96ffcb858b9 (diff)
downloadFreeBSD-src-e6af61899928da5edba3933e8271dd4345f6a689.zip
FreeBSD-src-e6af61899928da5edba3933e8271dd4345f6a689.tar.gz
Document some of the fields used by the new shlib code.
Obtained from: NetBSD
Diffstat (limited to 'include/nlist.h')
-rw-r--r--include/nlist.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/nlist.h b/include/nlist.h
index 11e0a43..b80c0b2 100644
--- a/include/nlist.h
+++ b/include/nlist.h
@@ -36,6 +36,8 @@
* SUCH DAMAGE.
*
* @(#)nlist.h 8.2 (Berkeley) 1/21/94
+ *
+ * $Id$
*/
#ifndef _NLIST_H_
@@ -60,8 +62,11 @@ struct nlist {
#define N_TEXT 0x04 /* text segment */
#define N_DATA 0x06 /* data segment */
#define N_BSS 0x08 /* bss segment */
+#define N_INDR 0x0a /* alias definition */
+#define N_SIZE 0x0c /* pseudo type, defines a symbol's size */
#define N_COMM 0x12 /* common reference */
-#define N_FN 0x1e /* file name */
+#define N_FN 0x1e /* file name (N_EXT on) */
+#define N_WARN 0x1e /* warning message (N_EXT off) */
#define N_EXT 0x01 /* external (global) bit, OR'ed in */
#define N_TYPE 0x1e /* mask for all the type bits */
OpenPOWER on IntegriCloud