commit | b64b497000da019b3bbb5a73b063132b1d61b30e | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Wed Mar 09 22:07:13 2011 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Wed Mar 09 22:07:13 2011 +0000 |
tree | 3b18461624bafd865994fb12d711a29ec871e400 | |
parent | 167831dcac0466f736427bb3ba4cc9522c9a03cf [diff] [blame] |
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 05882b5..a7581eb 100644 --- a/lib/Target/X86/X86AsmBackend.cpp +++ b/lib/Target/X86/X86AsmBackend.cpp
@@ -327,7 +327,7 @@ } MCELFObjectTargetWriter *createELFObjectTargetWriter() const { - return new X86ELFObjectWriter(true, OSType, ELF::EM_386, true); + return new X86ELFObjectWriter(true, OSType, ELF::EM_X86_64, true); } };