[yaml2obj] Initial ELF support.
authorSean Silva <silvas@purdue.edu>
Mon, 10 Jun 2013 23:44:15 +0000 (23:44 +0000)
committerSean Silva <silvas@purdue.edu>
Mon, 10 Jun 2013 23:44:15 +0000 (23:44 +0000)
commit5918b7a03d4d6a52e18f7c102250c9cfd6ae52dd
tree0b504cae7496e7c519b6ac722286e70ffed66b3f
parent9bdd78501484a1add2d8a757fd29960dd9fc9de7
[yaml2obj] Initial ELF support.

Currently, only emitting the ELF header is supported (no sections or
segments).

The ELFYAML code organization is broadly similar to the COFFYAML code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183711 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/llvm/Object/ELFYAML.h [new file with mode: 0644]
lib/Object/CMakeLists.txt
lib/Object/ELFYAML.cpp [new file with mode: 0644]
test/Object/Inputs/ELF/BE32.yaml [new file with mode: 0644]
test/Object/Inputs/ELF/BE64.yaml [new file with mode: 0644]
test/Object/Inputs/ELF/Header.yaml [new file with mode: 0644]
test/Object/Inputs/ELF/LE32.yaml [new file with mode: 0644]
test/Object/Inputs/ELF/LE64.yaml [new file with mode: 0644]
test/Object/yaml2obj-elf-basic.test [new file with mode: 0644]
test/Object/yaml2obj-elf-bits-endian.test [new file with mode: 0644]
tools/yaml2obj/CMakeLists.txt
tools/yaml2obj/yaml2elf.cpp [new file with mode: 0644]
tools/yaml2obj/yaml2obj.cpp
tools/yaml2obj/yaml2obj.h