aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmkelf1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkelf b/mkelf
index ab86ae6..e759875 100755
--- a/mkelf
+++ b/mkelf
@@ -104,6 +104,7 @@ local function main()
end
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
local out <close> = assert(io.open(outfn, "wb"))