aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@nimmagadda.net>2026-11-05 22:19:09 +0530
committerSunil Nimmagadda <sunil@nimmagadda.net>2026-11-05 22:19:09 +0530
commitde565f7b70489bfd5163f259a166cbcc6ac82a79 (patch)
treeebf75a50cb41d80e7b2ff5fc10cdc19e9a47fd6a
parentafeffe84a8c2867327618782385da2a42763101a (diff)
Will be handled in the upcoming layout function.
-rw-r--r--mkelf.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/mkelf.lua b/mkelf.lua
index 86dbe16..201fb7a 100644
--- a/mkelf.lua
+++ b/mkelf.lua
@@ -133,9 +133,6 @@ function M.main()
i = i + 1
end
local header, segments, sections = loadconfig(infn)
- -- 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
local ok, binary = pcall(elf_pack, header, segments, sections)
if not ok then die("packing failed: %s", binary) end
local out <close>, err = io.open(outfn, "wb")