riscv: Use elf_machine_rela_relative to handle R_RISCV_RELATIVE
authorKito Cheng <kito.cheng@sifive.com>
Thu, 23 Jun 2022 15:47:04 +0000 (23:47 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Fri, 24 Jun 2022 04:07:19 +0000 (21:07 -0700)
commit58fc66a91ca511cc12901cb599914f31948e02d5
tree3f778f0a823c2f22c91ba87165a402a14f5d12dd
parentbd42891bb38d43878d0a9e204a183dbae4a2c6d0
riscv: Use elf_machine_rela_relative to handle R_RISCV_RELATIVE

Minor clean-up, we need to change this part in following patch, clean this up
to prevent we duplicated the change twice.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
sysdeps/riscv/dl-machine.h