[PATCH] D62177: [ELF] Don't advance position in a memory region when assigning to the Dot

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 01:11:22 PDT 2019


MaskRay added a comment.

In D62177#1509688 <https://reviews.llvm.org/D62177#1509688>, @grimar wrote:

> gold has a different behavior from bfd here btw.


I think gold has a bug in its memory region matching. It uses boolean AND instead of boolean OR to find matching memory region... For example, in `memory5.test`, it fails to associate the two sections to the memory region and fails to report an error when there is no matching memory region...


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62177/new/

https://reviews.llvm.org/D62177





More information about the llvm-commits mailing list