1 /* 2 * Copyright (c) 1988 University of Utah. 3 * Copyright (c) 1990 The Regents of the University of California. 4 * 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.1 90/07/09$ 13 * 14 * @(#)hpux_exec.h 7.2 (Berkeley) 10/24/90 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_pad1; /* ditto */ 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 /* 34 * If the HPUX object file version number is BSDVNUM the file was built 35 * with the HPUX SGS but linked with the BSD libraries. 36 */ 37 #define BSDVNUM 0x2BAD 38