diff --git a/riscv64-link.c b/riscv64-link.c index 6e850ae..b52ceca 100644 --- a/riscv64-link.c +++ b/riscv64-link.c @@ -87,10 +87,10 @@ int gotplt_entry_type (int reloc_type) case R_RISCV_32: case R_RISCV_64: case R_RISCV_JAL: + case R_RISCV_CALL_PLT: return AUTO_GOTPLT_ENTRY; case R_RISCV_GOT_HI20: - case R_RISCV_CALL_PLT: return ALWAYS_GOTPLT_ENTRY; }