blob: 5d496ff1d097bf88d2d9926b85fa363a7472b1fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/* bsd-aout.h
4.4bsd a.out format, for backwards compatibility... */
#ifndef __MACHINE_BSD_AOUT_H__
#define __MACHINE_BSD_AOUT_H__
#define BSD_OMAGIC 0407 /* old impure format */
#define BSD_NMAGIC 0410 /* read-only text */
#define BSD_ZMAGIC 0413 /* demand load format */
struct bsd_aouthdr {
#if BYTE_ORDER == BIG_ENDIAN
u_short a_mid; /* machine ID */
u_short a_magic; /* magic number */
#else
u_short a_magic; /* magic number */
u_short a_mid; /* machine ID */
#endif
u_long a_text; /* text segment size */
u_long a_data; /* initialized data size */
u_long a_bss; /* uninitialized data size */
u_long a_syms; /* symbol table size */
u_long a_entry; /* entry point */
u_long a_trsize; /* text relocation size */
u_long a_drsize; /* data relocation size */
};
#ifndef _KERNEL
#define _AOUT_INCLUDE_
#include <nlist.h>
#endif /* _KERNEL */
#endif /* __MACHINE_BSD_AOUT_H__ */
|