Added option per section to preserve section during stripping.

This commit is contained in:
g012 2017-09-23 23:46:28 +02:00
parent 3f52d2d329
commit 3d2dc97870
1 changed files with 1 additions and 1 deletions

View File

@ -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