From c8d37c6e140dcddfc2d841ccd0a0924030ce15f8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 9 May 2006 16:41:59 +0000 Subject: [PATCH] Fix a regression in my patch from last night that broke the llvmgcc4 build on ppc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28205 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/AsmPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index d95b6911927..db677939248 100644 --- a/lib/CodeGen/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter.cpp @@ -68,7 +68,7 @@ void AsmPrinter::SwitchToTextSection(const char *NewSection, const GlobalValue *GV) { std::string NS; if (GV && GV->hasSection()) - NS = GV->getSection(); + NS = SwitchToSectionDirective + GV->getSection(); else NS = NewSection; -- 2.34.1