xref: /csrg-svn/sys/hp/hpux/hpux_exec.h (revision 63148)
141486Smckusick /*
241486Smckusick  * Copyright (c) 1988 University of Utah.
3*63148Sbostic  * Copyright (c) 1990, 1993
4*63148Sbostic  *	The Regents of the University of California.  All rights reserved.
541486Smckusick  *
641486Smckusick  * This code is derived from software contributed to Berkeley by
741486Smckusick  * the Systems Programming Group of the University of Utah Computer
841486Smckusick  * Science Department.
941486Smckusick  *
1041486Smckusick  * %sccs.include.redist.c%
1141486Smckusick  *
1253922Shibler  * from: Utah $Hdr: hpux_exec.h 1.6 92/01/20$
1341486Smckusick  *
14*63148Sbostic  *	@(#)hpux_exec.h	8.1 (Berkeley) 06/10/93
1541486Smckusick  */
1641486Smckusick 
1741486Smckusick /*
1841486Smckusick  * HPUX a.out header format
1941486Smckusick  */
2041486Smckusick struct hpux_exec {
2141486Smckusick 	long	ha_magic;	/* magic number */
2241486Smckusick 	short	ha_version;	/* version ID */
2341486Smckusick 	short	ha_pad0;	/* doesn't matter */
2453922Shibler 	long	ha_misc;	/* misc. info */
2541486Smckusick unsigned long	ha_text;	/* size of text segment */
2641486Smckusick unsigned long	ha_data;	/* size of initialized data */
2741486Smckusick unsigned long	ha_bss;		/* size of uninitialized data */
2841486Smckusick unsigned long	ha_pad2[5];	/* doesn't matter */
2941486Smckusick unsigned long	ha_entry;	/* entry point */
3041486Smckusick unsigned long	ha_pad3[4];	/* doesn't matter */
3141486Smckusick };
3241486Smckusick 
3353922Shibler #define	HPUXM_VALID	0x00000001
3453922Shibler #define HPUXM_STKWT	0x02000000
3553922Shibler #define HPUXM_DATAWT	0x04000000
36