From 4adc84d5e955c2c0b413ce47f233929dc8b7431d Mon Sep 17 00:00:00 2001 From: Sunil Nimmagadda Date: Thu, 5 Nov 2026 23:39:00 +0530 Subject: Need to improve comments, wip. --- types/elf.d.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'types/elf.d.lua') 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 -- cgit v1.3