[all-commits] [llvm/llvm-project] f7678c: [llvm][lld] Support R_RISCV_GOT32_PCREL (#72587)

PiJoules via All-commits all-commits at lists.llvm.org
Wed Jan 10 15:17:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7678c81fe96dc8a350d947b77ce5311a9f99612
      https://github.com/llvm/llvm-project/commit/f7678c81fe96dc8a350d947b77ce5311a9f99612
  Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
  Date:   2024-01-10 (Wed, 10 Jan 2024)

  Changed paths:
    M lld/ELF/Arch/RISCV.cpp
    A lld/test/ELF/riscv64-reloc-got32-pcrel.s
    M llvm/include/llvm/BinaryFormat/ELFRelocs/RISCV.def
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
    A llvm/test/MC/RISCV/elf-reloc-got32-pcrel.s

  Log Message:
  -----------
  [llvm][lld] Support R_RISCV_GOT32_PCREL (#72587)

This is the followup implementation to
https://github.com/riscv-non-isa/riscv-elf-psabi-doc/pull/402 that
supports this relocation in llvm and lld.




More information about the All-commits mailing list