This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Use SignExtend when reading R_386_PC16 addend.
AbandonedPublic

Authored by grimar on Feb 3 2017, 7:18 AM.

Details

Reviewers
ruiu
rafael
Summary

This is the same as D29490, but for R_386_PC16

Diff Detail

Event Timeline

grimar created this revision.Feb 3 2017, 7:18 AM
grimar updated this revision to Diff 86973.Feb 3 2017, 8:52 AM

Simplified testcase.

ruiu edited edge metadata.Feb 3 2017, 1:02 PM

I think you want to do the same thing for all PC-relative relocations.

grimar abandoned this revision.Feb 6 2017, 1:43 AM

Will be merged with D29490