xref: /original-bsd/sys/hp/hpux/hpux_exec.h (revision 3705696b)
1 /*
2  * Copyright (c) 1988 University of Utah.
3  * Copyright (c) 1990, 1993
4  *	The Regents of the University of California.  All rights reserved.
5  *
6  * This code is derived from software contributed to Berkeley by
7  * the Systems Programming Group of the University of Utah Computer
8  * Science Department.
9  *
10  * %sccs.include.redist.c%
11  *
12  * from: Utah $Hdr: hpux_exec.h 1.6 92/01/20$
13  *
14  *	@(#)hpux_exec.h	8.1 (Berkeley) 06/10/93
15  */
16 
17 /*
18  * HPUX a.out header format
19  */
20 struct hpux_exec {
21 	long	ha_magic;	/* magic number */
22 	short	ha_version;	/* version ID */
23 	short	ha_pad0;	/* doesn't matter */
24 	long	ha_misc;	/* misc. info */
25 unsigned long	ha_text;	/* size of text segment */
26 unsigned long	ha_data;	/* size of initialized data */
27 unsigned long	ha_bss;		/* size of uninitialized data */
28 unsigned long	ha_pad2[5];	/* doesn't matter */
29 unsigned long	ha_entry;	/* entry point */
30 unsigned long	ha_pad3[4];	/* doesn't matter */
31 };
32 
33 #define	HPUXM_VALID	0x00000001
34 #define HPUXM_STKWT	0x02000000
35 #define HPUXM_DATAWT	0x04000000
36