[PATCH] D115859: [LoongArch 2/n] Add ELF machine flag and relocs for upcoming LoongArch target
Lu Weining via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 16 00:48:25 PST 2021
SixWeining created this revision.
Herald added subscribers: rupprecht, hiraditya, emaste.
Herald added a reviewer: jhenderson.
SixWeining requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.
This patch adds necessary definitions for LoongArch ELF files, including
relocation types. Also adds initial support to ELFYaml, llvm-objdump,
and llvm-readobj in order to work with LoongArch ELFs.
Depends on D115857 <https://reviews.llvm.org/D115857>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D115859
Files:
llvm/include/llvm/BinaryFormat/ELF.h
llvm/include/llvm/BinaryFormat/ELFRelocs/LoongArch.def
llvm/include/llvm/Object/ELFObjectFile.h
llvm/lib/Object/ELF.cpp
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/test/tools/llvm-readobj/ELF/reloc-types-elf-loongarch64.test
llvm/tools/llvm-readobj/ELFDumper.cpp
llvm/unittests/Object/ELFObjectFileTest.cpp
llvm/unittests/Object/ELFTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115859.394776.patch
Type: text/x-patch
Size: 18480 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211216/79d814b1/attachment.bin>
More information about the llvm-commits
mailing list