[RISCV] Define RISC-V specific e_flags
authorAlex Bradbury <asb@lowrisc.org>
Thu, 28 Sep 2017 07:54:01 +0000 (07:54 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Thu, 28 Sep 2017 07:54:01 +0000 (07:54 +0000)
commit52b68efdd481b71dc9c5aebf7f367b90ef590a9d
tree6811632da548145a542a19b9233c7fdb95abfb73
parent75001c9ed8525928fb4f5e829a6be5ccc5cd28d3
[RISCV] Define RISC-V specific e_flags

Add RISC-V e_flags as defined in the ABI document:

https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md#file-header

Differential Revision: https://reviews.llvm.org/D38310
Patch by Chih-Mao Chen.

llvm-svn: 314386
llvm/include/llvm/BinaryFormat/ELF.h