[all-commits] [llvm/llvm-project] fea7b6: [RISCV] Add Vendor Reloc and Fallback Names (#116974)

Sam Elliott via All-commits all-commits at lists.llvm.org
Mon Dec 9 08:08:23 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fea7b65f23632b42ff8f7e2595ac0641e2c1d214
      https://github.com/llvm/llvm-project/commit/fea7b65f23632b42ff8f7e2595ac0641e2c1d214
  Author: Sam Elliott <quic_aelliott at quicinc.com>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/ELFRelocs/RISCV.def
    A llvm/test/MC/RISCV/custom_reloc.s

  Log Message:
  -----------
  [RISCV] Add Vendor Reloc and Fallback Names (#116974)

The trunk psABI document specifies that `R_RISCV_VENDOR` is 191, and
that relocations 192-255 should be printed as `R_RISCV_CUSTOM<enum val>`
in the absence of better information.

The testcase shows that these parse in `.reloc` directives, and also
print correctly from both the assembler and objdump.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list