aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@nimmagadda.net>2026-10-30 12:37:38 +0530
committerSunil Nimmagadda <sunil@nimmagadda.net>2026-10-30 12:54:38 +0530
commitd7520a75f01194a22f433c682e99b4482808f443 (patch)
tree938af4c650b206c71f0a67fb3a4ed989170f747a /elf
parentcc5e2ae695cfe199044ef614b2dfc1991095bcc0 (diff)
Don't take a detour to reach constants.
Diffstat (limited to 'elf')
-rw-r--r--elf/init.lua9
1 files changed, 0 insertions, 9 deletions
diff --git a/elf/init.lua b/elf/init.lua
index 6e6966a..7a9040b 100644
--- a/elf/init.lua
+++ b/elf/init.lua
@@ -1,18 +1,9 @@
-local constants = require("elf.constants")
local header = require("elf.header")
local segment = require("elf.segment")
local section = require("elf.section")
local M = {}
-M.VERSION = constants.VERSION
-M.Class = constants.Class
-M.Endian = constants.Endian
-M.Osabi = constants.Osabi
-M.Type = constants.Type
-M.Machine = constants.Machine
-M.SegmentType = constants.SegmentType
-M.SegmentFlags = constants.SegmentFlags
M.header = header
M.segment = segment
M.section = section