aboutsummaryrefslogtreecommitdiff
path: root/elf/section.lua
diff options
context:
space:
mode:
Diffstat (limited to 'elf/section.lua')
-rw-r--r--elf/section.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/elf/section.lua b/elf/section.lua
index f2d1a1d..7849d48 100644
--- a/elf/section.lua
+++ b/elf/section.lua
@@ -11,6 +11,7 @@ local fmt = require("elf.fmt")
---@field info? integer
---@field addralign? integer
---@field entsize? integer
+---@field content? string
---@class Section
---@field name string
@@ -23,6 +24,7 @@ local fmt = require("elf.fmt")
---@field info integer
---@field addralign integer
---@field entsize integer
+---@field content string
local M = {}
@@ -44,6 +46,7 @@ function M.normalize(secopts)
info = secopts.info or 0,
addralign = secopts.addralign or 0,
entsize = secopts.entsize or 0,
+ content = secopts.content or "",
}
end