Revert last change. Bug noticed by Linus.
[linux-2.6/linux-mips.git] / include / asm-mips64 / a.out.h
blob07f6565d34b5b7bb53fe5b6581ba5fa2fa95241e
1 /* $Id: a.out.h,v 1.1 1999/08/18 23:37:50 ralf Exp $
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.
7 * Copyright (C) 1994 - 1999 by Ralf Baechle
8 */
9 #ifndef _ASM_A_OUT_H
10 #define _ASM_A_OUT_H
12 struct exec
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 */
24 #define N_TRSIZE(a) ((a).a_trsize)
25 #define N_DRSIZE(a) ((a).a_drsize)
26 #define N_SYMSIZE(a) ((a).a_syms)
28 #ifdef __KERNEL__
30 #define STACK_TOP (current->thread.mflags & MF_32BIT ? 0x7fff8000 : TASK_SIZE)
32 #endif
34 #endif /* _ASM_A_OUT_H */