diff options
| author | Sunil Nimmagadda <sunil@nimmagadda.net> | 2026-10-24 14:22:36 +0530 |
|---|---|---|
| committer | Sunil Nimmagadda <sunil@nimmagadda.net> | 2026-10-24 14:22:36 +0530 |
| commit | 5eece24768c35409fe2a48558386f10294f1a700 (patch) | |
| tree | 9649a1de6d323f849d4aebda692cd2658b357125 | |
| parent | fd07227afb68dfc5080427aac5714ba82f9e8b93 (diff) | |
Too much for a simple script.
| -rw-r--r-- | mkelf.lua | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -68,7 +68,6 @@ local function main() local header, segments, sections = loadconfig(infn) header.phnum = #segments header.phentsize = (header.class == ec.Class.bit64) and 0x38 or 0x20 - -- TODO write to a temp file and atomic rename to outfn. local out <close> = assert(io.open(outfn, "wb")) out:write(header:pack()) out:write(segments:pack(header.data, header.class)) |
