[llvm-commits] [llvm] r48516 - /llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp
Bill Wendling
isanbard at gmail.com
Tue Mar 18 16:38:12 PDT 2008
Author: void
Date: Tue Mar 18 18:38:12 2008
New Revision: 48516
URL: http://llvm.org/viewvc/llvm-project?rev=48516&view=rev
Log:
On Darwin, GCC issues a ".globl" for something that has a "visibility protected"
attribute instead of ".protected".
Modified:
llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp?rev=48516&r1=48515&r2=48516&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86TargetAsmInfo.cpp Tue Mar 18 18:38:12 2008
@@ -90,6 +90,7 @@
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.
More information about the llvm-commits
mailing list