[all-commits] [llvm/llvm-project] dc9c41: [hwasan] Replace j __interceptor_sigsetjmp instead...

Khem Raj via All-commits all-commits at lists.llvm.org
Fri Jan 13 17:44:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc9c41125caa07b4f4ad0b6cb3348b499dbcf3a5
      https://github.com/llvm/llvm-project/commit/dc9c41125caa07b4f4ad0b6cb3348b499dbcf3a5
  Author: Khem Raj <raj.khem at gmail.com>
  Date:   2023-01-13 (Fri, 13 Jan 2023)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_setjmp_riscv64.S

  Log Message:
  -----------
  [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




More information about the All-commits mailing list