[all-commits] [llvm/llvm-project] c3a9c9: [BinaryFormat][LoongArch] Define psABI v2.20 reloc...

Lu Weining via All-commits all-commits at lists.llvm.org
Mon Dec 4 17:21:02 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3a9c905fbc486add75e16218fe58a04b7b6c282
      https://github.com/llvm/llvm-project/commit/c3a9c905fbc486add75e16218fe58a04b7b6c282
  Author: Lu Weining <luweining at loongson.cn>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/ELFRelocs/LoongArch.def
    M llvm/test/tools/llvm-readobj/ELF/reloc-types-loongarch64.test
    M llvm/unittests/Object/ELFTest.cpp

  Log Message:
  -----------
  [BinaryFormat][LoongArch] Define psABI v2.20 relocs (#73345)

psABI v2.20 added R_LARCH_CALL36 and removed R_LARCH_DELETE / R_LARCH_CFA.

R_LARCH_CALL36 was designed for function call on medium code model where
the 2 instructions (pcaddu18i + jirl) must be adjacent.




More information about the All-commits mailing list