[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 22:14:16 PST 2017


grimar added a comment.

In https://reviews.llvm.org/D41046#952097, @ruiu wrote:

> If that's the case, creating overlapping sections is not an issue, but actually we have to be able to create such sections, no?


Not exactly. Linker kernel script does not have overlapping sections.

It moves the Dot though (from something like 0xFFFFXXXX to 0 as far I remember) in the way the simple check that Dot after
change is greater than Dot before change simply did not work, so we had to remove it.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D41046





More information about the llvm-commits mailing list