[PATCH] D32887: [ELF] Emit __ehdr_start when there is a segment containing program headers
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 5 15:08:40 PDT 2017
phosek added a comment.
In https://reviews.llvm.org/D32887#747666, @ruiu wrote:
> Isn't there any way to determine if a ELF header is going to be included in some segment before scanning relocations?
I can add a method to LinkerScript that checks if ELF header is going to included and define `__ehdr_start` conditionally based on that, would that be fine with you?
Repository:
rL LLVM
https://reviews.llvm.org/D32887
More information about the llvm-commits
mailing list