1*41486Smckusick /* 2*41486Smckusick * Copyright (c) 1988 University of Utah. 3*41486Smckusick * Copyright (c) 1990 The Regents of the University of California. 4*41486Smckusick * All rights reserved. 5*41486Smckusick * 6*41486Smckusick * This code is derived from software contributed to Berkeley by 7*41486Smckusick * the Systems Programming Group of the University of Utah Computer 8*41486Smckusick * Science Department. 9*41486Smckusick * 10*41486Smckusick * %sccs.include.redist.c% 11*41486Smckusick * 12*41486Smckusick * from: Utah $Hdr: hpux_exec.h 1.4 88/05/24$ 13*41486Smckusick * 14*41486Smckusick * @(#)hpux_exec.h 7.1 (Berkeley) 05/08/90 15*41486Smckusick */ 16*41486Smckusick 17*41486Smckusick /* 18*41486Smckusick * HPUX a.out header format 19*41486Smckusick */ 20*41486Smckusick struct hpux_exec { 21*41486Smckusick long ha_magic; /* magic number */ 22*41486Smckusick short ha_version; /* version ID */ 23*41486Smckusick short ha_pad0; /* doesn't matter */ 24*41486Smckusick long ha_pad1; /* ditto */ 25*41486Smckusick unsigned long ha_text; /* size of text segment */ 26*41486Smckusick unsigned long ha_data; /* size of initialized data */ 27*41486Smckusick unsigned long ha_bss; /* size of uninitialized data */ 28*41486Smckusick unsigned long ha_pad2[5]; /* doesn't matter */ 29*41486Smckusick unsigned long ha_entry; /* entry point */ 30*41486Smckusick unsigned long ha_pad3[4]; /* doesn't matter */ 31*41486Smckusick }; 32*41486Smckusick 33*41486Smckusick /* 34*41486Smckusick * If the HPUX object file version number is BSDVNUM the file was built 35*41486Smckusick * with the HPUX SGS but linked with the BSD libraries. 36*41486Smckusick */ 37*41486Smckusick #define BSDVNUM 0x2BAD 38