Fix TextAlignFillValue in a few places
[oota-llvm.git] / lib / Target / X86 / X86MCAsmInfo.cpp
index bc56e71b649789ee3119a7a5d2adced56a77e61b..250634fcb0362f781f01b2718ab222618b2bfff7 100644 (file)
@@ -75,6 +75,8 @@ X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &Triple) {
   AsmTransCBE = x86_asm_table;
   AssemblerDialect = AsmWriterFlavor;
 
+  TextAlignFillValue = 0x90;
+
   PrivateGlobalPrefix = ".L";
   WeakRefDirective = "\t.weak\t";
   PCSymbol = ".";
@@ -99,4 +101,6 @@ MCSection *X86ELFMCAsmInfo::getNonexecutableStackSection(MCContext &Ctx) const {
 X86MCAsmInfoCOFF::X86MCAsmInfoCOFF(const Triple &Triple) {
   AsmTransCBE = x86_asm_table;
   AssemblerDialect = AsmWriterFlavor;
+
+  TextAlignFillValue = 0x90;
 }