diff options
Diffstat (limited to 'elf/section.lua')
| -rw-r--r-- | elf/section.lua | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/elf/section.lua b/elf/section.lua index 7849d48..ed625c4 100644 --- a/elf/section.lua +++ b/elf/section.lua @@ -31,10 +31,6 @@ local M = {} ---@param secopts SectionOptions ---@return Section function M.normalize(secopts) - if not secopts.name then error("name is required in section", 3) end - if not secopts.type then error("type is required in section", 3) end - if not secopts.flags then error("flags required in section", 3) end - return { name = secopts.name, type = secopts.type, |
