From: Stefan Markovic Date: Fri, 5 Oct 2018 14:38:46 +0000 (+0200) Subject: elf: Fix PT_MIPS_XXX constants X-Git-Tag: v3.1.0-rc0~48^2~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a325197155521662711e5e0ffb52bbb77b90dcb6;p=thirdparty%2Fqemu.git elf: Fix PT_MIPS_XXX constants Fix existing and add missing PT_MIPS_XXX constants in elf.h. This is copied from kernel header arch/mips/include/asm/elf.h. Reviewed-by: Aleksandar Markovic Signed-off-by: Stefan Markovic Signed-off-by: Aleksandar Markovic --- diff --git a/include/elf.h b/include/elf.h index 312f68af816..decf2101c37 100644 --- a/include/elf.h +++ b/include/elf.h @@ -28,8 +28,11 @@ typedef int64_t Elf64_Sxword; #define PT_PHDR 6 #define PT_LOPROC 0x70000000 #define PT_HIPROC 0x7fffffff -#define PT_MIPS_REGINFO 0x70000000 -#define PT_MIPS_OPTIONS 0x70000001 + +#define PT_MIPS_REGINFO 0x70000000 +#define PT_MIPS_RTPROC 0x70000001 +#define PT_MIPS_OPTIONS 0x70000002 +#define PT_MIPS_ABIFLAGS 0x70000003 /* Flags in the e_flags field of the header */ /* MIPS architecture level. */