master
h 28 lines 783 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 S390X_TARGET_ELF_H
9 #define S390X_TARGET_ELF_H
10
11 #include "target_ptrace.h"
12
13 #define ELF_CLASS ELFCLASS64
14 #define ELF_MACHINE EM_S390
15 #define VDSO_HEADER "vdso.c.inc"
16
17 #define HAVE_ELF_HWCAP 1
18 #define HAVE_ELF_CORE_DUMP 1
19
20 /*
21 * See linux kernel: arch/s390/include/asm/elf.h, where
22 * elf_gregset_t is typedef'd to struct s390_regs.
23 */
24 typedef struct target_elf_gregset_t {
25 struct target_s390_regs pt;
26 } target_elf_gregset_t;
27
28 #endif