[PATCH] D58116: [llvm-objcopy] Improve section removal
Eugene Leviant via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 12 06:06:18 PST 2019
evgeny777 created this revision.
evgeny777 added reviewers: jhenderson, rupprecht.
Herald added subscribers: jdoerfert, jakehehrlich, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a reviewer: alexshap.
This patch changes segment size, when last section is removed from the file. Segment also can be removed completely when it doesn't contain section (such behavior differs from GNU objcopy which leaves empty segment with warning).
This patch changes way section and segment layout is calculated and is a base for `--update-section`, `--pad-to` and few other options.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10891 bytes
Desc: not available
More information about the llvm-commits