[llvm-commits] [llvm] r127365 - /llvm/trunk/lib/Target/X86/X86AsmBackend.cpp
Benjamin Kramer
benny.kra at googlemail.com
Wed Mar 9 14:07:14 PST 2011
Author: d0k
Date: Wed Mar 9 16:07:13 2011
New Revision: 127365
URL: http://llvm.org/viewvc/llvm-project?rev=127365&view=rev
Log:
Fix a pasto that broke all x86_64-elf targets.
Modified:
llvm/trunk/lib/Target/X86/X86AsmBackend.cpp
Modified: llvm/trunk/lib/Target/X86/X86AsmBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86AsmBackend.cpp?rev=127365&r1=127364&r2=127365&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86AsmBackend.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86AsmBackend.cpp Wed Mar 9 16:07:13 2011
@@ -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);
}
};
More information about the llvm-commits
mailing list