[PATCH] D38260: [llvm-objcopy] Add support for removing sections
Jake Ehrlich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 5 10:46:34 PDT 2017
jakehehrlich added a comment.
In https://reviews.llvm.org/D38260#889160, @jhenderson wrote:
> By the way, not sure if you noticed my comment in https://reviews.llvm.org/D38335:
>
> > I'm not sure it [stripping the section header string table] should be an error anyway - it looks like GNU binutils at the very least can handle an ELF with no section header string table, but with section headers, without too much problem, although I'd expect the e_shstrndx field to be set to 0 in this case.
>
> Can I just confirm here that you are deliberately not allowing this behaviour? FWIW, objcopy refuses to strip the section, although it is silent about doing so.
Sorry, yes. I heard this and want to add that ability in another change. Specifically the --strip-sections change.
Repository:
rL LLVM
https://reviews.llvm.org/D38260
More information about the llvm-commits
mailing list