[PATCH] D63076: [ELF][RISCV] Support PLT, GOT, copy and relative relocations

James Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 05:30:37 PDT 2019


jrtc27 added a comment.

In D63076#1545858 <https://reviews.llvm.org/D63076#1545858>, @ruiu wrote:

> Does that make a visible difference?


It'll give you `ld.lld: error: relocation R_RISCV_CALL cannot be used against symbol foo; recompile with -fPIC`. Obviously not the correct behaviour, but an error seems better than silently doing the wrong thing in a way that will break glibc and FreeBSD's libc.


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63076/new/

https://reviews.llvm.org/D63076





More information about the llvm-commits mailing list