This is an archive of the discontinued LLVM Phabricator instance.

[ELF/AArch64] Support some of R_AARCH64_MOVW_UABS_* relocations
ClosedPublic

Authored by evgeny777 on Sep 9 2016, 9:16 AM.

Details

Summary

This patch adds following relocs

R_AARCH64_MOVW_UABS_G3
R_AARCH64_MOVW_UABS_G2_NC
R_AARCH64_MOVW_UABS_G1_NC
R_AARCH64_MOVW_UABS_G0_NC

Diff Detail

Repository
rL LLVM

Event Timeline

evgeny777 updated this revision to Diff 70848.Sep 9 2016, 9:16 AM
evgeny777 retitled this revision from to [ELF/AArch64] Support some of R_AARCH64_MOVW_UABS_* relocations.
evgeny777 updated this object.
evgeny777 added reviewers: ruiu, rafael.
evgeny777 set the repository for this revision to rL LLVM.
evgeny777 added a project: lld.
evgeny777 added subscribers: grimar, ikudrin, llvm-commits.
ruiu accepted this revision.Sep 9 2016, 9:21 AM
ruiu edited edge metadata.

LGTM, assuming you ran the test with GNU ld and confirmed that you got the same result.

ELF/Target.cpp
1360 ↗(On Diff #70848)

The new cases should be moved here rather than below to sort cases by label.

This revision is now accepted and ready to land.Sep 9 2016, 9:21 AM
This revision was automatically updated to reflect the committed changes.