linker benchmark: our riscv64 toolchain has lga now.
This doesn't make any difference, but it does let us delete an obsolete comment. Change-Id: Ibf81978bb7883e8c6b86c1f6c459ff70bca3f682
This commit is contained in:
parent
a13b3b32e0
commit
c2a4e89139
1 changed files with 1 additions and 3 deletions
|
@ -44,9 +44,7 @@
|
|||
|
||||
#elif defined(__riscv)
|
||||
|
||||
// No `lga` in clang unless https://reviews.llvm.org/D107278 lands.
|
||||
// `la` is equivalent when using PIC (which we do) though.
|
||||
#define GOT_RELOC(sym) la a0, sym
|
||||
#define GOT_RELOC(sym) lga a0, sym
|
||||
#define CALL(sym) call sym@plt
|
||||
#define DATA_WORD(val) .quad val
|
||||
#define MAIN .globl main; main: li a0, 0; ret
|
||||
|
|
Loading…
Reference in a new issue