aboutsummaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
Diffstat (limited to 'types')
-rw-r--r--types/elf.d.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/types/elf.d.lua b/types/elf.d.lua
index f5fb3a8..4d38707 100644
--- a/types/elf.d.lua
+++ b/types/elf.d.lua
@@ -13,9 +13,8 @@ SectionType = ec.SectionType
SectionFlags = ec.SectionFlags
ELFVERSION = ec.VERSION
----ELF header
--[[
-
+ELF header.
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.
@@ -23,9 +22,8 @@ the remaining fields are assigned defaults or computed after layout.
---@param hdr Header
function header(hdr) end
----ELF program header entries.
--[[
-
+ELF segments.
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