fix stage1 regressions in this branch

also prepare for supporting linking into archives
04f6a26955Andrew Kelley committed on 9/14/2020, 5:42:29 PMparentc58e995
9 files changedLine totals unavailable