#ifndef __nlist_h__
#define __nlist_h__


/*
 * @(#)nlist.h	1.2 (National Semiconductor) 1/12/88 17:12:49
 * @(#) copyrights and other release restrictions may apply
 */

/* This file was taken from System V source.  It handles the COFF format. */
/*
********************************************************************************
*                         Copyright (c) 1985 AT&T                              *
*		Copyright (c) 1985 National Semiconductor Corp.		       *
*                           All Rights Reserved                                *
*                                                                              *
*                                                                              *
*          THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T                 *
*        The copyright notice above does not evidence any actual               *
*        or intended publication of such source code.                          *
********************************************************************************
*/
/*
*	"@(#) nlist.h: 1.2 3/19/83"
*/

#if vax || ns32000 || u3b || u3b5

/* symbol table entry structure */

struct nlist
{
	char		*n_name;	/* symbol name */
	long		n_value;	/* value of symbol */
	short		n_scnum;	/* section number */
	unsigned short	n_type;		/* type and derived type */
	char		n_sclass;	/* storage class */
	char		n_numaux;	/* number of aux. entries */
	short		dummy;		/* Dummy bytes for portability */
};

#else /* pdp11 || u370 */

struct nlist
{
	char		n_name[8];	/* symbol name */
#if pdp11
	int		n_type;		/* type of symbol in .o */
#else
	char		n_type;
	char		n_other;
	short		n_desc;
#endif
	unsigned	n_value;	/* value of symbol */
};

#endif
#endif /* __nlist_h__ */
