aboutsummaryrefslogtreecommitdiff
path: root/types/elf.d.lua
diff options
context:
space:
mode:
Diffstat (limited to 'types/elf.d.lua')
-rw-r--r--types/elf.d.lua9
1 files changed, 6 insertions, 3 deletions
diff --git a/types/elf.d.lua b/types/elf.d.lua
index 40f88df..db50eb2 100644
--- a/types/elf.d.lua
+++ b/types/elf.d.lua
@@ -17,7 +17,7 @@ ELFVERSION = ec.VERSION
There can be only one header per configuration file.
class, data, type and machine are mandatory fields while
-the remaining fields are assigned defaults or computed after layout.
+the remaining fields are assigned defaults or computed during layout.
]]
---@param hdr HeaderOptions
function header(hdr) end
@@ -26,11 +26,14 @@ function header(hdr) end
The program headers are derived from these segment entries.
type field is mandatory and rest of fields are assigned defaults
-or computed after layout.A segment describes either a range of sections
-or a raw mapping. Do not mix the two forms.
+or computed during layout.
]]
---@param xs SegmentOptions[]
function segments(xs) end
+--[[ ELF sections.
+
+TODO
+]]
---@param xs SectionOptions[]
function sections(xs) end