mirror of
https://github.com/g012/l65.git
synced 2025-01-17 07:29:54 +00:00
Added option per section to preserve section during stripping.
This commit is contained in:
parent
3f52d2d329
commit
3d2dc97870
2
6502.lua
2
6502.lua
@ -73,7 +73,7 @@ M.link = function()
|
||||
sections[ix]=nil
|
||||
if not section.org then table.insert(symbols_to_remove, section.label) end
|
||||
elseif not section.org then
|
||||
if M.strip and not section.refcount then
|
||||
if M.strip and not section.refcount and not section.strong then
|
||||
sections[ix]=nil
|
||||
table.insert(symbols_to_remove, section.label)
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user