[all-commits] [llvm/llvm-project] 3fa179: [ELF] Support R_RISCV_SET_ULEB128/R_RISCV_SUB_ULEB...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Jan 8 20:24:13 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3fa17954dedd59bfad9cef1778719fb6312a5949
      https://github.com/llvm/llvm-project/commit/3fa17954dedd59bfad9cef1778719fb6312a5949
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M lld/ELF/Arch/RISCV.cpp
    M lld/ELF/InputSection.cpp
    M lld/ELF/Relocations.cpp
    M lld/ELF/Target.h
    M lld/test/ELF/riscv-reloc-leb128.s

  Log Message:
  -----------
  [ELF] Support R_RISCV_SET_ULEB128/R_RISCV_SUB_ULEB128 in SHF_ALLOC sections (#77261)

Complement #72610 (non-SHF_ALLOC sections). GCC-generated
.gcc_exception_table has the SHF_ALLOC flag and may contain
R_RISCV_SET_ULEB128/R_RISCV_SUB_ULEB128 relocations.




More information about the All-commits mailing list