This is an archive of the discontinued LLVM Phabricator instance.

[ELF2] Use EntrySize, not 8, to advance the .plt buffer when writing
ClosedPublic

Authored by hfinkel on Oct 8 2015, 9:45 AM.

Details

Reviewers
ruiu
rafael
Summary

In preparation for making the size of a .plt entry target dependent, use the existing EntrySize variable when writing (instead of a hard-coded value). NFC.

Diff Detail

Event Timeline

hfinkel updated this revision to Diff 36866.Oct 8 2015, 9:45 AM
hfinkel retitled this revision from to [ELF2] Use EntrySize, not 8, to advance the .plt buffer when writing.
hfinkel updated this object.
hfinkel added reviewers: ruiu, rafael.
hfinkel added a project: lld.
hfinkel added a subscriber: llvm-commits.
ruiu accepted this revision.Oct 8 2015, 9:51 AM
ruiu edited edge metadata.

LGTM

This revision is now accepted and ready to land.Oct 8 2015, 9:51 AM
hfinkel closed this revision.Oct 8 2015, 12:18 PM

r249720, thanks!