aboutsummaryrefslogtreecommitdiff
path: root/mkelf.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mkelf.lua')
-rw-r--r--mkelf.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/mkelf.lua b/mkelf.lua
index 0ff68b9..b22f064 100644
--- a/mkelf.lua
+++ b/mkelf.lua
@@ -89,7 +89,6 @@ local function main()
end
local header, segments, sections = loadconfig(infn)
header.phnum = #segments
- header.phentsize = (header.class == ec.Class.bit64) and 0x38 or 0x20
local out <close> = assert(io.open(outfn, "wb"))
out:write(header:pack())
for _, segment in ipairs(segments) do