[all-commits] [llvm/llvm-project] 38394a: [lld][LoongArch] Handle extreme code model relocs ...

Lu Weining via All-commits all-commits at lists.llvm.org
Wed Jan 10 02:04:05 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 38394a3d0b8b9a1fdc444bdebeba17a19250997d
      https://github.com/llvm/llvm-project/commit/38394a3d0b8b9a1fdc444bdebeba17a19250997d
  Author: Lu Weining <luweining at loongson.cn>
  Date:   2024-01-10 (Wed, 10 Jan 2024)

  Changed paths:
    M lld/ELF/Arch/LoongArch.cpp
    M lld/ELF/InputSection.cpp
    M lld/ELF/Target.h
    M lld/test/ELF/loongarch-pc-aligned.s

  Log Message:
  -----------
  [lld][LoongArch] Handle extreme code model relocs according to psABI v2.30 (#73387)

psABI v2.30 requires the extreme code model instructions sequence
(pcalau12i+addi.d+lu32i.d+lu52i.d) to be adjacent.

See https://github.com/llvm/llvm-project/pull/71907 and
https://github.com/loongson-community/discussions/issues/17 for details.




More information about the All-commits mailing list