From 5765bcd8256b1ee7be941f5e05d806f270b7a986 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) llvm-svn: 33763 --- 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";