[PATCH] D43819: [ELF] - Restrict section offsets that exceeds file size.
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 9 07:15:11 PST 2018
jhenderson added inline comments.
================
Comment at: ELF/Writer.cpp:1910-1911
+ // which does not move location counter backwards and usually scripts do not
+ // do that. Unfortunately, there are apps in the wild, for example, Linux
+ // kernel which controls segments distribution explicitly and moves counter
+ // backwards so we have to allow doing that to support linking them. We
----------------
jhenderson wrote:
> Linux kernel which controls segments -> Linux kernel, which control segment
> moves counter backwards so -> moves the counter backwards, so
My bad - missed one more!
moves the counter -> move the counter
https://reviews.llvm.org/D43819
More information about the llvm-commits
mailing list