1 #ifndef __ARM_A_OUT_H__
2 #define __ARM_A_OUT_H__
3
4 #include <asm/types.h>
5
6 struct exec
7 {
8 __u32 a_info; /* Use macros N_MAGIC, etc for access */
9 __u32 a_text; /* length of text, in bytes */
10 __u32 a_data; /* length of data, in bytes */
11 __u32 a_bss; /* length of uninitialized data area for file, in bytes */
12 __u32 a_syms; /* length of symbol table data in file, in bytes */
13 __u32 a_entry; /* start address */
14 __u32 a_trsize; /* length of relocation info for text, in bytes */
15 __u32 a_drsize; /* length of relocation info for data, in bytes */
16 };
17
18 /*
19 * This is always the same
20 */
21 #define N_TXTADDR(a) (0x00008000)
22
23 #define N_TRSIZE(a) ((a).a_trsize)
24 #define N_DRSIZE(a) ((a).a_drsize)
25 #define N_SYMSIZE(a) ((a).a_syms)
26
27 #define M_ARM 103
28
29 #ifdef __KERNEL__
30 #define STACK_TOP ((current->personality == PER_LINUX_32BIT) ? \
31 TASK_SIZE : TASK_SIZE_26)
32 #endif
33
34 #ifndef LIBRARY_START_TEXT
35 #define LIBRARY_START_TEXT (0x00c00000)
36 #endif
37
38 #endif /* __A_OUT_GNU_H__ */
39
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.