This is an archive of the discontinued LLVM Phabricator instance.

[mips][ias] Handle N64 compound relocations and R_MIPS_SUB in needsRelocateWithSymbol()
ClosedPublic

Authored by dsanders on May 10 2016, 6:01 AM.

Details

Summary

This eliminates the default case for N64 that was left out of r269047.

The change to R_MIPS_SUB is needed in this patch to make this testable since
%lo(%neg(%gp_rel(foo))) and %hi(%neg(%gp_rel(foo))) remain the only ways to get
a compound relocation from the assembler.

Diff Detail

Event Timeline

dsanders updated this revision to Diff 56700.May 10 2016, 6:01 AM
dsanders retitled this revision from to [mips][ias] Handle N64 compound relocations and R_MIPS_SUB in needsRelocateWithSymbol().
dsanders updated this object.
dsanders added reviewers: sdardis, rafael.
dsanders added a subscriber: llvm-commits.
rafael accepted this revision.May 10 2016, 6:22 AM
rafael edited edge metadata.

LGTM. Thanks

This revision is now accepted and ready to land.May 10 2016, 6:22 AM
dsanders closed this revision.May 12 2016, 4:01 AM