[PATCH] D23558: [RISCV 2/10] Add RISC-V ELF defines

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 16 14:41:44 PDT 2016


emaste added a subscriber: emaste.
emaste accepted this revision.
emaste added a reviewer: emaste.
emaste added a comment.
This revision is now accepted and ready to land.

Confirmed EM_RISCV and relocations against https://sourceforge.net/p/elftoolchain/code/HEAD/tree/trunk/common/elfdefinitions.h (except that R_RISCV_RVC_LUI, ELF_RELOC(R_RISCV_GPREL_I, ELF_RELOC(R_RISCV_GPREL_S not yet added there).

Aside, it's unfortunate that ElfMachineType has a mix of "friendly" names and verbatim EM_* constants.


https://reviews.llvm.org/D23558





More information about the llvm-commits mailing list