diff --git a/arch/x86/include/asm/elf.h b/arch/x86/include/asm/elf.h index 25b2fb7d..e4d74ad9 100644 --- a/arch/x86/include/asm/elf.h +++ b/arch/x86/include/asm/elf.h @@ -77,6 +77,12 @@ extern "C" { #define ELF_PT_LOPROC 0x70000000 /* Start of processor-specific */ #define ELF_PT_HIPROC 0x7fffffff /* End of processor-specific */ +/* These constants define the permissions on sections in the program + header, p_flags. */ +#define PF_R 0x4 +#define PF_W 0x2 +#define PF_X 0x1 + typedef struct { uint32_t magic; uint8_t _class;