This is an archive of the discontinued LLVM Phabricator instance.

MC: AArch64: Add support for pg_hi21_nc relocation specifier.
ClosedPublic

Authored by pcc on Jul 9 2019, 5:07 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc created this revision.Jul 9 2019, 5:07 PM
peter.smith accepted this revision.Jul 10 2019, 1:06 AM

Looks good to me. The pg_hi21_nc matches what is used in GNU as. For completeness, at some point we may want to add :pg_hi21: which maps to R_AARCH64_ADR_PREL_PG_HI21 but given that is what we get with no modifier it doesn't seem like it is used in practice.

This revision is now accepted and ready to land.Jul 10 2019, 1:06 AM
This revision was automatically updated to reflect the committed changes.