LinkerScript: macro substitution
Add initial test framework.
Fixup hlint warnings.