diff options
author | Stefan Markovic <smarkovic@wavecomp.com> | 2018-10-05 16:38:46 +0200 |
---|---|---|
committer | Aleksandar Markovic <amarkovic@wavecomp.com> | 2018-10-18 20:37:20 +0200 |
commit | a325197155521662711e5e0ffb52bbb77b90dcb6 (patch) | |
tree | 846c3aa543fb3bcab539d337b65a8b0d19f2f69f /include/elf.h | |
parent | 8c2218e313483eeb2748e46e6d742bc7d8c6081c (diff) |
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 <amarkovic@wavecomp.com>
Signed-off-by: Stefan Markovic <smarkovic@wavecomp.com>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Diffstat (limited to 'include/elf.h')
-rw-r--r-- | include/elf.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/elf.h b/include/elf.h index 312f68af81..decf2101c3 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. */ |