Index: lib/Target/X86/X86AsmBackend.cpp |
=================================================================== |
--- lib/Target/X86/X86AsmBackend.cpp (revision 118813) |
+++ lib/Target/X86/X86AsmBackend.cpp (working copy) |
@@ -310,7 +310,7 @@ |
} |
MCObjectWriter *createObjectWriter(raw_ostream &OS) const { |
- return new ELFObjectWriter(OS, /*Is64Bit=*/false, |
+ return new X86ELFObjectWriter(OS, /*Is64Bit=*/false, |
OSType, ELF::EM_386, |
/*IsLittleEndian=*/true, |
/*HasRelocationAddend=*/false); |
@@ -327,7 +327,7 @@ |
} |
MCObjectWriter *createObjectWriter(raw_ostream &OS) const { |
- return new ELFObjectWriter(OS, /*Is64Bit=*/true, |
+ return new X86ELFObjectWriter(OS, /*Is64Bit=*/true, |
OSType, ELF::EM_X86_64, |
/*IsLittleEndian=*/true, |
/*HasRelocationAddend=*/true); |