aboutsummaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@nimmagadda.net>2026-10-31 18:38:40 +0530
committerSunil Nimmagadda <sunil@nimmagadda.net>2026-10-31 18:38:40 +0530
commit31992a2df92ab5b7775e86d97b960f814bcfbfa7 (patch)
treefaf8dcd69f0d1e26cd3e1eac60e436dfa8f61cf5 /types
parentc8347f16c672792eb21f6d707e7f483290bfe8ee (diff)
Rectify docstring.
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