[PATCH] D41403: [ELF] Fix incorrect physical address on self-referencing AT command

Erick Reyes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 2 12:39:09 PST 2018


erickreyes added a comment.

In https://reviews.llvm.org/D41403#964012, @ruiu wrote:

> This looks good, but I wonder in what situation you want to define a self-referencing LMA. (I just want to understand the problem better.)


I ran into this problem when trying to link the Linux kernel with lld. There are a lot of sections defined like this:


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D41403





More information about the llvm-commits mailing list