This patch adds support to LLVM for writing HermitCore (https://hermitcore.org) ELF...
authorEric Christopher <echristo@gmail.com>
Sat, 25 Aug 2018 01:08:18 +0000 (01:08 +0000)
committerEric Christopher <echristo@gmail.com>
Sat, 25 Aug 2018 01:08:18 +0000 (01:08 +0000)
commit2ab82347a3ee450044f7967f9de5779b3e330ec1
tree09f95395fd886b3400b99191525cea6cff78879c
parentecc65eddec743b14ec129b0e76dc2184e418259e
This patch adds support to LLVM for writing HermitCore (https://hermitcore.org) ELF binaries.

HermitCore is a POSIX-compatible kernel for running a single application in an isolated environment to get maximum performance and predictable runtime behavior. It can either be used bare-metal on hardware or a VM (Unikernel) or side by side to an existing Linux system (Multikernel).
Due to the latter feature, HermitCore binaries are marked with ELFOSABI_STANDALONE to let the Linux ELF loader distinguish them from regular Unix/Linux binaries and load them using the HermitCore "proxy" tool.

Patch by Colin Finck!

llvm-svn: 340675
llvm/include/llvm/ADT/Triple.h
llvm/include/llvm/MC/MCELFObjectWriter.h
llvm/lib/Support/Triple.cpp
llvm/unittests/ADT/TripleTest.cpp