From 80ef83616b35220172295fa23b503f2ede7f3f5a Mon Sep 17 00:00:00 2001 From: Sunil Nimmagadda Date: Fri, 30 Oct 2026 16:44:37 +0530 Subject: section: Some missing constants. --- elf/constants.lua | 10 +++++++--- 1 file 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 -- cgit v1.3