aboutsummaryrefslogtreecommitdiff
path: root/elf/constants.lua
diff options
context:
space:
mode:
Diffstat (limited to 'elf/constants.lua')
-rw-r--r--elf/constants.lua10
1 files changed, 7 insertions, 3 deletions
diff --git a/elf/constants.lua b/elf/constants.lua
index 859440e..f13b356 100644
--- a/elf/constants.lua
+++ b/elf/constants.lua
@@ -117,9 +117,13 @@ M.SectionType = {
preinit_array = 0x10,
group = 0x11,
symtab_shndx = 0x12,
- num = 0x13,
+ relr = 0x13,
loos = 0x60000000,
hios = 0x6fffffff,
+ loproc = 0x70000000,
+ hiproc = 0x7fffffff,
+ louser = 0x80000000,
+ hiuser = 0x8fffffff,
-- TODO
}
@@ -137,8 +141,8 @@ M.SectionFlags = {
tls = 0x400,
maskos = 0x0ff00000,
maskproc = 0xf0000000,
- ordered = 0x4000000,
- exclude = 0x8000000,
+ ordered = 0x40000000,
+ exclude = 0x80000000,
}
return M