summaryrefslogtreecommitdiff
path: root/mkelf.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mkelf.lua')
-rw-r--r--mkelf.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/mkelf.lua b/mkelf.lua
index ee635f5..b362077 100644
--- a/mkelf.lua
+++ b/mkelf.lua
@@ -136,7 +136,7 @@ local function ElfHeader_pack(hdr)
hdr.shstrndx)
end
----@class ProgramHeader
+---@class ProgramHeaders
---@field type integer
---@field flags integer
---@field offset integer
@@ -169,7 +169,7 @@ local SegmentFlags <const> = {
r = 0x3,
}
----@param hdr ProgramHeader
+---@param hdr ProgramHeaders
---@param endian Endian
---@param class Class
---@nodiscard
@@ -220,7 +220,7 @@ local function main()
shnum = 0,
shstrndx = 0,
}
- ---@type ProgramHeader
+ ---@type ProgramHeaders
local pheader <const> = {
type = SegmentType.dynamic,
flags = SegmentFlags.x,