From a82962fcb135239d490a5751465ff1eb523065cf Mon Sep 17 00:00:00 2001 From: Sunil Nimmagadda Date: Fri, 30 Oct 2026 15:07:47 +0530 Subject: Fill in shnum. --- mkelf.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'mkelf.lua') diff --git a/mkelf.lua b/mkelf.lua index 24b10a3..3ad7dba 100644 --- a/mkelf.lua +++ b/mkelf.lua @@ -91,6 +91,7 @@ local function main() end local header, segments, sections = loadconfig(infn) header.phnum = #segments + header.shnum = #sections local out = assert(io.open(outfn, "wb")) out:write(header:pack()) for _, segment in ipairs(segments) do -- cgit v1.3