Add constants, which defines the permissions on sections in the program header.
This commit is contained in:
parent
2e6e1c78ea
commit
a178734377
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue