From 801c9afd944cfa6dc4d39b548d2c26d3caed19d8 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. llvm-svn: 127365 --- llvm/lib/Target/X86/X86AsmBackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/X86/X86AsmBackend.cpp b/llvm/lib/Target/X86/X86AsmBackend.cpp index 05882b5f00b4..a7581eb2222b 100644 --- a/llvm/lib/Target/X86/X86AsmBackend.cpp +++ b/llvm/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); } };