From 2322f64295b6c02101e0327b3a03325715b73627 Mon Sep 17 00:00:00 2001 From: Sunil Nimmagadda Date: Wed, 4 Nov 2026 21:49:04 +0530 Subject: Disable this for now. --- mkelf.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mkelf.lua b/mkelf.lua index 2fcd207..a66c779 100644 --- a/mkelf.lua +++ b/mkelf.lua @@ -106,8 +106,8 @@ function M.main() local header, segments, sections = loadconfig(infn) if not header then die("header missing") end -- TODO check against headerOptions not normalized header. - if header.phnum == 0 then header.phnum = #segments end - if header.shnum == 0 then header.shnum = #sections end + -- if header.phnum == 0 then header.phnum = #segments end + -- if header.shnum == 0 then header.shnum = #sections end local out , err = io.open(outfn, "wb") if out == nil then die("failed to open: %s", outfn, err) end out:write(elf.header.pack(header)) -- cgit v1.3