diff options
Diffstat (limited to 'mkelf.lua')
| -rw-r--r-- | mkelf.lua | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -19,15 +19,16 @@ local function loadconfig(fn) local section_mt = { __index = elf.section } local env = setmetatable({}, { __index = { - -- Keep in sync with types/elf.d.lua - Class = elf.Class, - Endian = elf.Endian, - Osabi = elf.Osabi, - Type = elf.Type, - Machine = elf.Machine, - SegmentType = elf.SegmentType, - SegmentFlags = elf.SegmentFlags, - ELFVERSION = elf.VERSION, + Class = ec.Class, + Endian = ec.Endian, + Osabi = ec.Osabi, + Type = ec.Type, + Machine = ec.Machine, + SegmentType = ec.SegmentType, + SegmentFlags = ec.SegmentFlags, + SectionType = ec.SectionType, + SectionFlags = ec.SectionFlags, + ELFVERSION = ec.VERSION, header = function(t) if type(t) ~= "table" then |
