This is an archive of the discontinued LLVM Phabricator instance.

[ELF] Don't emit empty PT_LOAD segment
AbandonedPublic

Authored by evgeny777 on Oct 6 2016, 6:32 AM.

Details

Reviewers
ruiu
rafael
Summary

This can happen when:

  • Linker script puts RW section first.
  • There is no place for program headers.

Diff Detail

Event Timeline

evgeny777 updated this revision to Diff 73792.Oct 6 2016, 6:32 AM
evgeny777 retitled this revision from to [ELF] Don't emit empty PT_LOAD segment.
evgeny777 updated this object.
evgeny777 added reviewers: ruiu, rafael.
evgeny777 set the repository for this revision to rL LLVM.
evgeny777 added a project: lld.
evgeny777 added subscribers: grimar, ikudrin, llvm-commits.
evgeny777 abandoned this revision.Oct 6 2016, 8:06 AM