Page MenuHomePhabricator

[ELF] - Do not remove empty output sections that are explicitly assigned to phdr in script.
ClosedPublic

Authored by grimar on Feb 21 2018, 5:52 AM.

Details

Summary

This continues direction shown in D43069.

I suggest to keep sections that are explicitly assigned to segment in script.
With that code can be simplified (as shown in diff).

Also with that it might be possible to get rid of Live flag of output section (if we want).

Diff Detail

Repository
rL LLVM

Event Timeline

grimar created this revision.Feb 21 2018, 5:52 AM
This revision was not accepted when it landed; it landed in state Needs Review.Feb 23 2018, 2:55 AM
This revision was automatically updated to reflect the committed changes.