diff --git a/lib/Target/X86/X86TargetAsmInfo.cpp b/lib/Target/X86/X86TargetAsmInfo.cpp index 68185ede943..43948ec8ef3 100644 --- a/lib/Target/X86/X86TargetAsmInfo.cpp +++ b/lib/Target/X86/X86TargetAsmInfo.cpp @@ -90,6 +90,7 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) { WeakDefDirective = "\t.weak_definition "; WeakRefDirective = "\t.weak_reference "; HiddenDirective = "\t.private_extern "; + ProtectedDirective = "\t.globl\t"; // In non-PIC modes, emit a special label before jump tables so that the // linker can perform more accurate dead code stripping.