================
@@ -18,6 +18,6 @@
 .globl _start
 _start:
 .data
-  .word foo@PLT - .
-  .word foo@PLT - . + 1
-  .word foo@PLT - . - 1
+  .word %plt(foo - .)
----------------
MaskRay wrote:

Implemented `%pltpcrel`, while a bit complex, I am happy with the result. (As 
in `RISCVMCExpr::evaluateAsRelocatableImpl`, we don't need an exception for 
`VK_PLT`, if we go with `%plt`. This might be difficult to explain without 
playing with it.)

https://github.com/llvm/llvm-project/pull/132569
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to