From 95822a93f482e0214091bd8e72ad3609869470f9 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 6 Dec 2010 03:03:44 +0000 Subject: [PATCH] Don't use PadSectionToAlignment on windows. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120978 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/WinCOFFStreamer.cpp | 2 +- test/MC/COFF/basic-coff.s | 2 +- test/MC/COFF/symbol-fragment-offset.s | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/MC/WinCOFFStreamer.cpp b/lib/MC/WinCOFFStreamer.cpp index 315458b749..3654add4f4 100644 --- a/lib/MC/WinCOFFStreamer.cpp +++ b/lib/MC/WinCOFFStreamer.cpp @@ -124,7 +124,7 @@ WinCOFFStreamer::WinCOFFStreamer(MCContext &Context, TargetAsmBackend &TAB, MCCodeEmitter &CE, raw_ostream &OS) - : MCObjectStreamer(Context, TAB, OS, &CE, true) + : MCObjectStreamer(Context, TAB, OS, &CE, false) , CurSymbol(NULL) { } diff --git a/test/MC/COFF/basic-coff.s b/test/MC/COFF/basic-coff.s index fcbe2904a5..0c8658258e 100644 --- a/test/MC/COFF/basic-coff.s +++ b/test/MC/COFF/basic-coff.s @@ -94,7 +94,7 @@ L_.str: # @.str // CHECK: StorageClass = IMAGE_SYM_CLASS_STATIC (3) // CHECK: NumberOfAuxSymbols = 1 // CHECK: AuxillaryData = -// CHECK: 18 00 00 00 02 00 00 00 - 00 00 00 00 01 00 00 00 |................| +// CHECK: 15 00 00 00 02 00 00 00 - 00 00 00 00 01 00 00 00 |................| // CHECK: 00 00 |..| // CHECK: } // CHECK: 2 = { diff --git a/test/MC/COFF/symbol-fragment-offset.s b/test/MC/COFF/symbol-fragment-offset.s index 577b6c59fa..c314ac20f4 100644 --- a/test/MC/COFF/symbol-fragment-offset.s +++ b/test/MC/COFF/symbol-fragment-offset.s @@ -62,7 +62,7 @@ L_.str2: // CHECK: SectionData = // CHECK: 83 EC 04 C7 04 24 00 00 - 00 00 E8 00 00 00 00 C7 |.....$..........| // CHECK: 04 24 07 00 00 00 E8 00 - 00 00 00 C7 04 24 10 00 |.$...........$..| -// CHECK: 00 00 E8 00 00 00 00 31 - C0 83 C4 04 C3 00 00 00 |.......1........| +// CHECK: 00 00 E8 00 00 00 00 31 - C0 83 C4 04 C3 |.......1.....| // CHECK: Relocations = [ // CHECK: 0 = { // CHECK: VirtualAddress = 0x6 @@ -134,7 +134,7 @@ L_.str2: // CHECK: StorageClass = IMAGE_SYM_CLASS_STATIC (3) // CHECK: NumberOfAuxSymbols = 1 // CHECK: AuxillaryData = -// CHECK: 30 00 00 00 06 00 00 00 - 00 00 00 00 01 00 00 00 |0...............| +// CHECK: 2D 00 00 00 06 00 00 00 - 00 00 00 00 01 00 00 00 |-...............| // CHECK: 00 00 |..| // CHECK: } -- 2.11.4.GIT