[llvm-branch-commits] [RISCV] Replace @plt/@gotpcrel in data directives with %plt %gotpcrel (PR #132569)
Jessica Clarke via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Mar 23 13:47:43 PDT 2025
================
@@ -18,6 +18,6 @@
.globl _start
_start:
.data
- .word foo at PLT - .
- .word foo at PLT - . + 1
- .word foo at PLT - . - 1
+ .word %plt(foo - .)
----------------
jrtc27 wrote:
Well my overarching point would be that user-facing syntax should not be beholden to arbitrary historic implementation choices. If it's truly impossible to make it work then that's one thing, but I doubt that to be the case.
https://github.com/llvm/llvm-project/pull/132569
More information about the llvm-branch-commits
mailing list