diff options
| author | Sunil Nimmagadda <sunil@nimmagadda.net> | 2026-11-05 23:39:00 +0530 |
|---|---|---|
| committer | Sunil Nimmagadda <sunil@nimmagadda.net> | 2026-11-05 23:39:00 +0530 |
| commit | 4adc84d5e955c2c0b413ce47f233929dc8b7431d (patch) | |
| tree | ed7f0ee39de813177bee7642b9c1cc0007eca5f0 | |
| parent | e2b60152beb61147ffa05fb46fb18fa0c297ed04 (diff) | |
Need to improve comments, wip.
| -rw-r--r-- | types/elf.d.lua | 9 |
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 |
