From b64b497000da019b3bbb5a73b063132b1d61b30e Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 9 Mar 2011 22:07:13 +0000 Subject: [PATCH] Fix a pasto that broke all x86_64-elf targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127365 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86AsmBackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86AsmBackend.cpp b/lib/Target/X86/X86AsmBackend.cpp index 05882b5f00b..a7581eb2222 100644 --- a/lib/Target/X86/X86AsmBackend.cpp +++ b/lib/Target/X86/X86AsmBackend.cpp @@ -327,7 +327,7 @@ public: } MCELFObjectTargetWriter *createELFObjectTargetWriter() const { - return new X86ELFObjectWriter(true, OSType, ELF::EM_386, true); + return new X86ELFObjectWriter(true, OSType, ELF::EM_X86_64, true); } }; -- 2.34.1