Skip to content

Commit

Permalink
elf: Fix PT_MIPS_XXX constants
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Markovic authored and AMarkovic committed Oct 18, 2018
1 parent 8c2218e commit a325197
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions include/elf.h
Expand Up @@ -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. */
Expand Down

0 comments on commit a325197

Please sign in to comment.