aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@nimmagadda.net>2026-10-30 16:44:37 +0530
committerSunil Nimmagadda <sunil@nimmagadda.net>2026-10-30 16:44:37 +0530
commit80ef83616b35220172295fa23b503f2ede7f3f5a (patch)
tree28a571fdc573ec4cd94aa53d6e9d2cef21f5f552
parenta82962fcb135239d490a5751465ff1eb523065cf (diff)
section: Some missing constants.
-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