summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-01-14 06:37:54 +0000
committerChris Lattner <sabre@nondot.org>2007-01-14 06:37:54 +0000
commit3c84b551dbf62185cf973217732e673927c90efe (patch)
treebd2dafd63a6c27b26d66ba7fd45cb308faf1d0f3 /llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
parent69240dfa72d2b5be31106f8c5f2e2b3de53ebea6 (diff)
downloadbcm5719-llvm-3c84b551dbf62185cf973217732e673927c90efe.tar.gz
bcm5719-llvm-3c84b551dbf62185cf973217732e673927c90efe.zip
add support for hidden visibility to darwin/ppc and linux/ppc targets
llvm-svn: 33200
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
index 3def0316a7a..6045cfa161d 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
@@ -55,6 +55,7 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const PPCTargetMachine &TM)
StaticDtorsSection = ".mod_term_func";
UsedDirective = "\t.no_dead_strip\t";
WeakRefDirective = "\t.weak_reference\t";
+ HiddenDirective = "\t.private_extern\t";
}
LinuxTargetAsmInfo::LinuxTargetAsmInfo(const PPCTargetMachine &TM)
OpenPOWER on IntegriCloud