This is an archive of the discontinued LLVM Phabricator instance.

Remove special handling of TLS/NOTE/RELRO sections.
ClosedPublic

Authored by ruiu on Jul 25 2016, 5:12 PM.

Details

Reviewers
evgeny777
Summary

We were handling TLS/NOTE/RELRO sections in a special manner when
linker scripts are given. But I think we don't really need this --
we generally don't make a guess if linker scripts are given and do
exactly what is instructed to do. Our stance is, if you want to force
some layout, you need to give complete instructions to the linker.

Diff Detail

Event Timeline

ruiu updated this revision to Diff 65442.Jul 25 2016, 5:12 PM
ruiu retitled this revision from to Remove special handling of TLS/NOTE/RELRO sections..
ruiu updated this object.
ruiu added a reviewer: evgeny777.
ruiu added a subscriber: llvm-commits.
evgeny777 accepted this revision.Jul 25 2016, 10:11 PM
evgeny777 edited edge metadata.

LGTM. Actually I planned this myself for one of the next patches.

This revision is now accepted and ready to land.Jul 25 2016, 10:11 PM
ruiu added a comment.Jul 25 2016, 10:19 PM

I'll submit it tomorrow morning, but feel free to submit yourself if you need it now.

Committed in r276731

evgeny777 closed this revision.Aug 11 2016, 5:38 AM