blob: 046a165eef2cdc82533b854aa320b8a58f5e757e [file]
/*
* 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 MIPS64_TARGET_ELF_H
#define MIPS64_TARGET_ELF_H
#define HAVE_ELF_HWCAP 1
#define HAVE_ELF_BASE_PLATFORM 1
#define HAVE_ELF_CORE_DUMP 1
#ifdef TARGET_ABI_MIPSN32
typedef abi_ullong target_elf_greg_t;
#else
typedef abi_ulong target_elf_greg_t;
#endif
/* See linux kernel: arch/mips/include/asm/elf.h. */
#define ELF_NREG 45
typedef struct target_elf_gregset_t {
target_elf_greg_t regs[ELF_NREG];
} target_elf_gregset_t;
#endif