[lld] r305375 - [ELF] Add armelf emulation mode
Eugene Leviant via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 14 01:25:38 PDT 2017
Author: evgeny777
Date: Wed Jun 14 03:25:38 2017
New Revision: 305375
URL: http://llvm.org/viewvc/llvm-project?rev=305375&view=rev
Log:
[ELF] Add armelf emulation mode
Differential revision: https://reviews.llvm.org/D34140
Modified:
lld/trunk/ELF/Driver.cpp
Modified: lld/trunk/ELF/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Driver.cpp?rev=305375&r1=305374&r2=305375&view=diff
==============================================================================
--- lld/trunk/ELF/Driver.cpp (original)
+++ lld/trunk/ELF/Driver.cpp Wed Jun 14 03:25:38 2017
@@ -99,7 +99,7 @@ static std::tuple<ELFKind, uint16_t, uin
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})
More information about the llvm-commits
mailing list