[PATCH] D134601: [LoongArch] Updates for the LoongArch ELF psABI v2.01 revision

WÁNG Xuěruì via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 25 05:19:58 PDT 2022


xen0n created this revision.
xen0n added reviewers: SixWeining, wangleiat, xry111, MaskRay, gonglingqin.
Herald added subscribers: StephenFan, hiraditya, emaste.
Herald added a reviewer: jhenderson.
Herald added a project: All.
xen0n requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The e_flags of existing object files are all 0x3 which happens to be
compatible. From this commit on, all LoongArch objects produced with
upstream LLVM will be of object file ABI v1, which is already supported
by binutils' master branch (to be released as 2.40), and is allowed by
the same binutils version to interlink with v0 objects so the existing
distributions have time to migrate.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134601

Files:
  llvm/include/llvm/BinaryFormat/ELF.h
  llvm/lib/ObjectYAML/ELFYAML.cpp
  llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchELFStreamer.cpp
  llvm/test/CodeGen/LoongArch/e_flags.ll
  llvm/test/tools/llvm-readobj/ELF/loongarch-eflags.test
  llvm/test/tools/obj2yaml/ELF/loongarch-eflags.yaml
  llvm/tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134601.462723.patch
Type: text/x-patch
Size: 19937 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220925/4e0348b4/attachment.bin>


More information about the llvm-commits mailing list