[PATCH] D41046: [ELF] Make overlapping output sections an error
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 11 21:48:47 PST 2017
grimar added a comment.
In https://reviews.llvm.org/D41046#952044, @ruiu wrote:
> We do have a check if "." doesn't rewind. Doesn't it work as a prevention for section overlapping?
We removed this check for linking linux kernel. We check that Dot does not rewind inside a section declaration, but do not have a check for outside case.
(https://github.com/llvm-mirror/lld/blob/master/ELF/LinkerScript.cpp#L105)
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D41046
More information about the llvm-commits
mailing list