This is an archive of the discontinued LLVM Phabricator instance.

[Sparc] Add fixups for the GOTdata_op model
Needs ReviewPublic

Authored by dcederman on Sep 4 2018, 2:07 AM.

Details

Reviewers
jyknight
venkatra
Summary

This makes it possible to assemble position independent code using the GOTdata_op model. It gives the linker the possibility to change a load into an add when the location of the symbol is less than 2 GB away.

Diff Detail