From: Benjamin Kramer Date: Wed, 9 Mar 2011 22:07:13 +0000 (+0000) Subject: Fix a pasto that broke all x86_64-elf targets. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b64b497000da019b3bbb5a73b063132b1d61b30e;p=oota-llvm.git 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 --- 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); } };