1 /* $Id: a.out.h,v 1.1 1999/08/18 23:37:50 ralf Exp $
2 *
3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
5 * for more details.
6 *
7 * Copyright (C) 1994 - 1999 by Ralf Baechle
8 */
9 #ifndef _ASM_A_OUT_H
10 #define _ASM_A_OUT_H
11
12 struct exec
13 {
14 unsigned long a_info; /* Use macros N_MAGIC, etc for access */
15 unsigned a_text; /* length of text, in bytes */
16 unsigned a_data; /* length of data, in bytes */
17 unsigned a_bss; /* length of uninitialized data area for file, in bytes */
18 unsigned a_syms; /* length of symbol table data in file, in bytes */
19 unsigned a_entry; /* start address */
20 unsigned a_trsize; /* length of relocation info for text, in bytes */
21 unsigned a_drsize; /* length of relocation info for data, in bytes */
22 };
23
24 #define N_TRSIZE(a) ((a).a_trsize)
25 #define N_DRSIZE(a) ((a).a_drsize)
26 #define N_SYMSIZE(a) ((a).a_syms)
27
28 #ifdef __KERNEL__
29
30 #define STACK_TOP (current->thread.mflags & MF_32BIT ? 0x7fff8000 : TASK_SIZE)
31
32 #endif
33
34 #endif /* _ASM_A_OUT_H */
35
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.