[llvm-branch-commits] [RISCV] Replace @plt/@gotpcrel in data directives with %plt %gotpcrel (PR #132569)

Fangrui Song via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Mar 22 15:09:15 PDT 2025


================
@@ -1194,18 +1194,34 @@ const MCExpr *TargetLoweringObjectFileELF::lowerRelativeReference(
       MCSymbolRefExpr::create(TM.getSymbol(RHS), getContext()), getContext());
----------------
MaskRay wrote:

`lowerRelativeReference` uses MCSymbolRefExpr. It seems legacy (probably should be removed).

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


More information about the llvm-branch-commits mailing list