]> granicus.if.org Git - llvm/commit
[RISCV] Add RISC-V ELF defines
authorAlex Bradbury <asb@lowrisc.org>
Tue, 1 Nov 2016 16:59:37 +0000 (16:59 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Tue, 1 Nov 2016 16:59:37 +0000 (16:59 +0000)
commit49b5e6b8a4c97a763eeac2ab6b51a41972867413
treefe019304e93df2e5bc46d1f01c194ac0861c1679
parent404c9d53b5cce7e0dcd6bbfc6d2e41a8d31e3fe6
[RISCV] Add RISC-V ELF defines

Add the necessary definitions for RISC-V ELF files, including relocs. Also
make necessary trivial change to ELFYaml, llvm-objdump, and llvm-readobj in
order to work with RISC-V ELFs.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285708 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELFObjectFile.h
include/llvm/Support/ELF.h
lib/Object/ELF.cpp
lib/ObjectYAML/ELFYAML.cpp
tools/llvm-objdump/llvm-objdump.cpp
tools/llvm-readobj/ELFDumper.cpp