master
h 33 lines 932 Bytes
Raw
1 /*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License version 2 as
4 * published by the Free Software Foundation, or (at your option) any
5 * later version. See the COPYING file in the top-level directory.
6 */
7
8 #ifndef ARM_TARGET_ELF_H
9 #define ARM_TARGET_ELF_H
10
11 #include "target_ptrace.h"
12
13 #define ELF_MACHINE EM_ARM
14 #define ELF_CLASS ELFCLASS32
15 #define EXSTACK_DEFAULT true
16
17 #define HAVE_ELF_HWCAP 1
18 #define HAVE_ELF_HWCAP2 1
19 #define HAVE_ELF_PLATFORM 1
20 #define HAVE_ELF_CORE_DUMP 1
21 #define HAVE_VDSO_IMAGE_INFO 1
22
23 #define COMMPAGE ((intptr_t)0xffff0f00u)
24
25 /*
26 * See linux kernel: arch/arm/include/asm/elf.h, where
27 * elf_gregset_t is mapped to struct pt_regs via sizeof.
28 */
29 typedef struct target_elf_gregset_t {
30 struct target_pt_regs pt;
31 } target_elf_gregset_t;
32
33 #endif