Skip to content

Commit

Permalink
elf: Add definitions for PT_COMPARTMENT and DT_C18NSTRTAB*
Browse files Browse the repository at this point in the history
  • Loading branch information
bsdjhb committed Dec 11, 2024
1 parent b568f00 commit 83ec9c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sys/sys/elf_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ typedef struct {
#define PT_PHDR 6 /* Location of program header itself. */
#define PT_TLS 7 /* Thread local storage segment */
#define PT_LOOS 0x60000000 /* First OS-specific. */
#define PT_COMPARTMENT 0x64331380 /* Sub-object compartment. */
#define PT_CHERI_BOUNDS 0x64348450 /* CHERI PCC bounds. */
#define PT_SUNW_UNWIND 0x6464e550 /* amd64 UNWIND program header */
#define PT_GNU_EH_FRAME 0x6474e550
Expand Down Expand Up @@ -631,6 +632,8 @@ typedef struct {
#define DT_SUNW_FILTER 0x6000000f /* symbol filter name */
#define DT_SUNW_CAP 0x60000010 /* hardware/software */
#define DT_SUNW_ASLR 0x60000023 /* ASLR control */
#define DT_C18NSTRTAB 0x64331380 /* Compartment string table */
#define DT_C18NSTRTABSZ 0x64331381 /* Compartment string table size */
#define DT_HIOS 0x6ffff000 /* Last OS-specific */

/*
Expand Down

0 comments on commit 83ec9c0

Please sign in to comment.