[lld] [ELF] Error if a section address is smaller than image base (PR #140187)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue May 20 21:16:43 PDT 2025


================
@@ -1615,17 +1615,31 @@ template <class ELFT> void Writer<ELFT>::finalizeAddressDependentContent() {
       sec->addr = 0;
 
   // If addrExpr is set, the address may not be a multiple of the alignment.
----------------
MaskRay wrote:

Moved!

https://github.com/llvm/llvm-project/pull/140187


More information about the llvm-commits mailing list