[PATCH] D63273: [ELF][RISCV] Error on R_RISCV_PCREL_LO12_[IS] that point to absolute symbols
James Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 3 05:15:58 PDT 2019
jrtc27 requested changes to this revision.
jrtc27 added inline comments.
This revision now requires changes to proceed.
================
Comment at: ELF/InputSection.cpp:574
+ if (!D->Section) {
+ error("R_RISCV_PCREL_LO12 relocation points to an absolute symbol");
+ return nullptr;
----------------
We should print the symbol name though like we do below
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63273/new/
https://reviews.llvm.org/D63273
More information about the llvm-commits
mailing list