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 D115772
Paths
| Differential D115773
[LoongArch 2/n] Add ELF machine flag and relocs for upcoming LoongArch target Authored by SixWeining on Dec 14 2021, 6:04 PM.
Details
Summary This patch adds necessary definitions for LoongArch ELF files, including Depends on D115772
Diff Detail
Unit TestsFailed
Event TimelineSixWeining added a child revision: D115774: [LoongArch 3/n] Add target stub for LoongArch.Dec 14 2021, 6:05 PM
Revision Contents
Diff 394445 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
|
clang-format: please reformat the code
325 diff lines are omitted. See full path.