This is an archive of the discontinued LLVM Phabricator instance.

[mips][ias] Fix R_MICROMIPS_GOT16 evaluation and eliminate symbol for R_MICROMIPS_(GOT|HI|LO)16
ClosedPublic

Authored by dsanders on May 13 2016, 8:58 AM.

Details

Summary

The failure r269410 worked around turned out to be caused by an incorrect
evaluation of R_MICROMIPS_GOT16 which then caused the GOT entries to be
incorrect.

This patch fixes the evaluation and reverts r269410.

Depends on D20214 for a fix to '.set micromips'.

Diff Detail

Event Timeline

dsanders updated this revision to Diff 57205.May 13 2016, 8:58 AM
dsanders retitled this revision from to [mips][ias] Fix R_MICROMIPS_GOT16 evaluation and eliminate symbol for R_MICROMIPS_(GOT|HI|LO)16.
dsanders updated this object.
dsanders added reviewers: sdardis, vkalintiris.
dsanders added a subscriber: llvm-commits.
rafael accepted this revision.May 13 2016, 10:05 AM
rafael added a reviewer: rafael.
rafael added a subscriber: rafael.

Thanks for tracking it down.

This revision is now accepted and ready to land.May 13 2016, 10:05 AM
dsanders closed this revision.May 16 2016, 2:40 AM