[PATCH] D34140: [ELF] Add armelf emulation mode
Eugene Leviant via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 14 01:26:20 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL305375: [ELF] Add armelf emulation mode (authored by evgeny777).
Changed prior to commit:
https://reviews.llvm.org/D34140?vs=102317&id=102500#toc
Repository:
rL LLVM
https://reviews.llvm.org/D34140
Files:
lld/trunk/ELF/Driver.cpp
Index: lld/trunk/ELF/Driver.cpp
===================================================================
--- lld/trunk/ELF/Driver.cpp
+++ lld/trunk/ELF/Driver.cpp
@@ -99,7 +99,7 @@
std::pair<ELFKind, uint16_t> Ret =
StringSwitch<std::pair<ELFKind, uint16_t>>(S)
.Cases("aarch64elf", "aarch64linux", {ELF64LEKind, EM_AARCH64})
- .Case("armelf_linux_eabi", {ELF32LEKind, EM_ARM})
+ .Cases("armelf", "armelf_linux_eabi", {ELF32LEKind, EM_ARM})
.Case("elf32_x86_64", {ELF32LEKind, EM_X86_64})
.Cases("elf32btsmip", "elf32btsmipn32", {ELF32BEKind, EM_MIPS})
.Cases("elf32ltsmip", "elf32ltsmipn32", {ELF32LEKind, EM_MIPS})
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34140.102500.patch
Type: text/x-patch
Size: 684 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170614/ce57b81b/attachment.bin>
More information about the llvm-commits
mailing list