mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
feat(kernel/elf): add OS-specific segment types and GNU properties
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
a7f754c5e8
commit
4cc058ab42
@ -34,7 +34,8 @@
|
|||||||
"kernel",
|
"kernel",
|
||||||
"kernel/pci",
|
"kernel/pci",
|
||||||
"kernel/driver",
|
"kernel/driver",
|
||||||
"kernel/drivers"
|
"kernel/drivers",
|
||||||
|
"kernel/elf"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -241,8 +241,14 @@ enum SegmentTypes
|
|||||||
PT_SHLIB = 5,
|
PT_SHLIB = 5,
|
||||||
PT_PHDR = 6,
|
PT_PHDR = 6,
|
||||||
PT_TLS = 7,
|
PT_TLS = 7,
|
||||||
|
PT_LOOS = 0x60000000, /* OS-specific */
|
||||||
|
PT_HIOS = 0x6fffffff, /* OS-specific */
|
||||||
PT_LOPROC = 0x70000000,
|
PT_LOPROC = 0x70000000,
|
||||||
PT_HIPROC = 0x7fffffff,
|
PT_HIPROC = 0x7fffffff,
|
||||||
|
PT_GNU_EH_FRAME = (PT_LOOS + 0x474e550),
|
||||||
|
PT_GNU_STACK = (PT_LOOS + 0x474e551),
|
||||||
|
PT_GNU_RELRO = (PT_LOOS + 0x474e552),
|
||||||
|
PT_GNU_PROPERTY = (PT_LOOS + 0x474e553)
|
||||||
};
|
};
|
||||||
|
|
||||||
enum DynamicArrayTags
|
enum DynamicArrayTags
|
||||||
|
Loading…
x
Reference in New Issue
Block a user