[all-commits] [llvm/llvm-project] 28b483: [Object] Add some more LoongArch support

WÁNG Xuěruì via All-commits all-commits at lists.llvm.org
Thu Dec 1 03:18:46 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28b4838a33b66830a0e508559effb37ffe1a20bf
      https://github.com/llvm/llvm-project/commit/28b4838a33b66830a0e508559effb37ffe1a20bf
  Author: WANG Xuerui <git at xen0n.name>
  Date:   2022-12-01 (Thu, 01 Dec 2022)

  Changed paths:
    M llvm/include/llvm/Object/ELFObjectFile.h
    M llvm/lib/Object/ELF.cpp
    M llvm/lib/Object/ELFObjectFile.cpp
    M llvm/test/MC/LoongArch/Basic/Float/d-arith.s
    M llvm/test/MC/LoongArch/Basic/Float/d-bound-check.s
    M llvm/test/MC/LoongArch/Basic/Float/d-branch.s
    M llvm/test/MC/LoongArch/Basic/Float/d-comp.s
    M llvm/test/MC/LoongArch/Basic/Float/d-conv.s
    M llvm/test/MC/LoongArch/Basic/Float/d-memory.s
    M llvm/test/MC/LoongArch/Basic/Float/d-move.s
    M llvm/test/MC/LoongArch/Basic/Float/f-arith.s
    M llvm/test/MC/LoongArch/Basic/Float/f-bound-check.s
    M llvm/test/MC/LoongArch/Basic/Float/f-branch.s
    M llvm/test/MC/LoongArch/Basic/Float/f-comp.s
    M llvm/test/MC/LoongArch/Basic/Float/f-conv.s
    M llvm/test/MC/LoongArch/Basic/Float/f-memory.s
    M llvm/test/MC/LoongArch/Basic/Float/f-move.s
    M llvm/unittests/Object/ELFTest.cpp

  Log Message:
  -----------
  [Object] Add some more LoongArch support

Add ELFObjectFileBase::getLoongArchFeatures, and return the proper ELF
relative reloc type for LoongArch.

Reviewed By: MaskRay, SixWeining

Differential Revision: https://reviews.llvm.org/D138016




More information about the All-commits mailing list