aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/segment.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/segment.lua b/elf/segment.lua
index a89d8aa..89d0c47 100644
--- a/elf/segment.lua
+++ b/elf/segment.lua
@@ -41,8 +41,8 @@ function M.normalize(segopts)
filesz = segopts.filesz or 0,
memsz = segopts.memsz or 0,
align = segopts.align or 1,
- first_section = "",
- last_section = "",
+ first_section = segopts.first_section or "",
+ last_section = segopts.last_section or "",
}
end