Define PrivateGlobalPrefix for ARM Linux. (Fix CodeGen/ARM/large_stack.ll)
authorLauro Ramos Venancio <lauro.venancio@gmail.com>
Thu, 1 Feb 2007 21:43:53 +0000 (21:43 +0000)
committerLauro Ramos Venancio <lauro.venancio@gmail.com>
Thu, 1 Feb 2007 21:43:53 +0000 (21:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33763 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMTargetAsmInfo.cpp

index 56da6d9f05ae90e24c46c6ac5c11abce263a6fdd..b4948c5b5b5a7a28696d828ea592b027c63bbfb4 100644 (file)
@@ -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";