diff options
| author | Sunil Nimmagadda <sunil@nimmagadda.net> | 2026-11-04 21:49:04 +0530 |
|---|---|---|
| committer | Sunil Nimmagadda <sunil@nimmagadda.net> | 2026-11-04 21:49:04 +0530 |
| commit | 2322f64295b6c02101e0327b3a03325715b73627 (patch) | |
| tree | 766f28620bc706392bc556b3e9a752a9168cb25e /mkelf.lua | |
| parent | eb4ed34d7dfa5ce0e4cb0f24a3ec9c2115406b9e (diff) | |
Disable this for now.
Diffstat (limited to 'mkelf.lua')
| -rw-r--r-- | mkelf.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <close>, err = io.open(outfn, "wb") if out == nil then die("failed to open: %s", outfn, err) end out:write(elf.header.pack(header)) |
