[lld] ELF,SystemZ: Don't sort relocations for TLS GD/LD optimization; support CREL (PR #149640)

Ulrich Weigand via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 21 08:13:00 PDT 2025


================
@@ -1657,7 +1657,7 @@ void RelocationScanner::scan(Relocs<RelTy> rels) {
   // On SystemZ, all sections need to be sorted by r_offset, to allow TLS
   // relaxation to be handled correctly - see SystemZ::getTlsGdRelaxSkip.
----------------
uweigand wrote:

Should remove that comment then as well.

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


More information about the llvm-commits mailing list