summaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa/a.out.h
blob: 05a2f67c676853ecf8e09d33b257eedbd4ef47e0 (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
34
/*
 * include/asm-xtensa/a.out.h
 *
 * Dummy a.out file. Xtensa does not support the a.out format, but the kernel
 * seems to depend on it.
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Copyright (C) 2001 - 2005 Tensilica Inc.
 */

#ifndef _XTENSA_A_OUT_H
#define _XTENSA_A_OUT_H

/* Note: the kernel needs the a.out definitions, even if only ELF is used. */

#define STACK_TOP	TASK_SIZE
#define STACK_TOP_MAX	STACK_TOP

struct exec
{
  unsigned long a_info;
  unsigned a_text;
  unsigned a_data;
  unsigned a_bss;
  unsigned a_syms;
  unsigned a_entry;
  unsigned a_trsize;
  unsigned a_drsize;
};

#endif /* _XTENSA_A_OUT_H */