summary refs log tree commit diff stats
path: root/linux-user/ppc/target_elf.h
blob: 72615553ea53ed29af5f0e8b47d4bdf822b37797 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation, or (at your option) any
 * later version. See the COPYING file in the top-level directory.
 */

#ifndef PPC_TARGET_ELF_H
#define PPC_TARGET_ELF_H

#define HAVE_ELF_HWCAP          1
#define HAVE_ELF_HWCAP2         1
#define HAVE_ELF_CORE_DUMP      1

typedef abi_ulong target_elf_greg_t;

/* See linux kernel: arch/powerpc/include/asm/elf.h.  */
#define ELF_NREG                48
typedef struct target_elf_gregset_t {
    target_elf_greg_t regs[ELF_NREG];
} target_elf_gregset_t;

#endif