This change adds basic support for baremetal riscv32 configuration. Differential Revision: https://reviews.llvm.org/D152563