diff options
Diffstat (limited to 'libc/kernel/arch-arm/asm/a.out.h')
-rw-r--r-- | libc/kernel/arch-arm/asm/a.out.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/libc/kernel/arch-arm/asm/a.out.h b/libc/kernel/arch-arm/asm/a.out.h new file mode 100644 index 0000000..e8f17dc --- /dev/null +++ b/libc/kernel/arch-arm/asm/a.out.h @@ -0,0 +1,42 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + **************************************************************************** + ****************************************************************************/ +#ifndef __ARM_A_OUT_H__ +#define __ARM_A_OUT_H__ + +#include <linux/personality.h> +#include <asm/types.h> + +struct exec +{ + __u32 a_info; + __u32 a_text; + __u32 a_data; + __u32 a_bss; + __u32 a_syms; + __u32 a_entry; + __u32 a_trsize; + __u32 a_drsize; +}; + +#define N_TXTADDR(a) (0x00008000) + +#define N_TRSIZE(a) ((a).a_trsize) +#define N_DRSIZE(a) ((a).a_drsize) +#define N_SYMSIZE(a) ((a).a_syms) + +#define M_ARM 103 + +#ifndef LIBRARY_START_TEXT +#define LIBRARY_START_TEXT (0x00c00000) +#endif + +#endif |