From c33f674ca3e3f9834833d7b4840157f2c92f4e4c Mon Sep 17 00:00:00 2001 From: Lauro Ramos Venancio Date: Thu, 1 Feb 2007 21:43:53 +0000 Subject: [PATCH] Define PrivateGlobalPrefix for ARM Linux. (Fix CodeGen/ARM/large_stack.ll) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33763 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMTargetAsmInfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Target/ARM/ARMTargetAsmInfo.cpp b/lib/Target/ARM/ARMTargetAsmInfo.cpp index 56da6d9f05a..b4948c5b5b5 100644 --- a/lib/Target/ARM/ARMTargetAsmInfo.cpp +++ b/lib/Target/ARM/ARMTargetAsmInfo.cpp @@ -56,6 +56,7 @@ ARMTargetAsmInfo::ARMTargetAsmInfo(const ARMTargetMachine &TM) { DwarfRangesSection = ".section __DWARF,__debug_ranges,regular,debug"; DwarfMacInfoSection = ".section __DWARF,__debug_macinfo,regular,debug"; } else { + PrivateGlobalPrefix = ".L"; WeakRefDirective = "\t.weak\t"; StaticCtorsSection = "\t.section .ctors,\"aw\",%progbits"; StaticDtorsSection = "\t.section .dtors,\"aw\",%progbits";