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.
Differential D61298
[LLD] Emit dynamic relocations for references to script symbols in -pie links bd1976llvm on Apr 30 2019, 2:42 AM. Authored by
Details
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.
Diff Detail Event TimelineComment Actions That looks ok to me, IIRC the main problem in D55423 was hitting the cannot refer to absolute symbol error, and this will still avoid that. Comment Actions 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) |
We normally put # REQUIRES: line first in the test cases. Please put the comment before the CHECK.