diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-01-13 17:44:38 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2023-01-13 17:44:38 -0800 |
commit | dc9c41125caa07b4f4ad0b6cb3348b499dbcf3a5 (patch) | |
tree | eb889eed7feec39d3e4a4796bd8dcace6d5a917c /clang/lib/CodeGen/BackendUtil.cpp | |
parent | e70ae0f46bd5553f0702c5d1e30c5dd6f45a8c01 (diff) | |
download | llvm-dc9c41125caa07b4f4ad0b6cb3348b499dbcf3a5.zip llvm-dc9c41125caa07b4f4ad0b6cb3348b499dbcf3a5.tar.gz llvm-dc9c41125caa07b4f4ad0b6cb3348b499dbcf3a5.tar.bz2 |
[hwasan] Replace j __interceptor_sigsetjmp instead with tail for RISC-V
R_RISCV_JAL referencing a preemptible symbol is disallowed with ld.lld and binutils 2.40 (https://sourceware.org/PR28509)
riscv64-yoe-linux-ld: relocation R_RISCV_JAL against `__interceptor_sigsetjmp' which may bind externally can not be used when making a shared object; recompile with -fPIC
Reviewed By: kito-cheng, MaskRay
Differential Revision: https://reviews.llvm.org/D141656
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions