-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify and make the pair-wise relocation more precise. If either of the symbol references are textual, the relocation must be delayed. If the difference is across sections, delay it as well which partially matches the behaviour of gas. We unfortunately do not handle the case where the difference references a symbol that is not yet defined. In such a case, we simply fail to resolve the difference, which should hopefully not be too onerous (particularly since no other target supports cross-section references and it is not clear if this was intentional on the part of RISCV). Differential Revision: https://reviews.llvm.org/D132262 Reviewed By: @MaskRay
- Loading branch information
Showing
2 changed files
with
25 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters