Fix TextAlignFillValue in a few places
authorDaniel Dunbar <daniel@zuster.org>
Thu, 25 Feb 2010 18:07:10 +0000 (18:07 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 25 Feb 2010 18:07:10 +0000 (18:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97151 91177308-0d34-0410-b5e6-96231b3b80d8

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;
 }