https://reviews.llvm.org/D55423 caused LLD to stop emitting dynamic relocations for references to script symbols in -pie links.
This patch fixes that regression.
Errr. The commit description should be rewritten as:
- https://reviews.llvm.org/D61298 + Differential Revision: https://reviews.llvm.org/D61298
to close the revision automatically. BTW, the test had trailing \r (which I have fixed)