1#ifndef _ASM_IA64_A_OUT_H
2#define _ASM_IA64_A_OUT_H
3
4/*
5 * No a.out format has been (or should be) defined so this file is
6 * just a dummy that allows us to get binfmt_elf compiled.  It
7 * probably would be better to clean up binfmt_elf.c so it does not
8 * necessarily depend on there being a.out support.
9 *
10 * Copyright (C) 1998-2000, 2002 Hewlett-Packard Co
11 *	David Mosberger-Tang <davidm@hpl.hp.com>
12 */
13
14#include <linux/types.h>
15
16struct exec {
17	unsigned long a_info;
18	unsigned long a_text;
19	unsigned long a_data;
20	unsigned long a_bss;
21	unsigned long a_entry;
22};
23
24#define N_TXTADDR(x)	0
25#define N_DATADDR(x)	0
26#define N_BSSADDR(x)	0
27#define N_DRSIZE(x)	0
28#define N_TRSIZE(x)	0
29#define N_SYMSIZE(x)	0
30#define N_TXTOFF(x)	0
31
32#ifdef __KERNEL__
33# include <asm/page.h>
34# define STACK_TOP	(0x6000000000000000UL + (1UL << (4*PAGE_SHIFT - 12)) - PAGE_SIZE)
35# define IA64_RBS_BOT	(STACK_TOP - 0x80000000L + PAGE_SIZE)	/* bottom of reg. backing store */
36#endif
37
38#endif /* _ASM_IA64_A_OUT_H */
39