summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-12-01 20:47:11 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-12-01 20:47:11 +0000
commit022030a425906fbe84a230d9447be06912bc225c (patch)
treedcf1e63a75fd8ba816853dfbdb9494bad6979bf7 /llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
parent16353d6583860a8b461ba12fa2f117ac146b084d (diff)
downloadbcm5719-llvm-022030a425906fbe84a230d9447be06912bc225c.tar.gz
bcm5719-llvm-022030a425906fbe84a230d9447be06912bc225c.zip
Add weak reference directive.
llvm-svn: 32091
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 f8848f592c5..1e380091448 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
@@ -33,6 +33,7 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const PPCTargetMachine &TM) {
StaticCtorsSection = ".mod_init_func";
StaticDtorsSection = ".mod_term_func";
UsedDirective = "\t.no_dead_strip\t";
+ WeakRefDirective = "\t.weak_reference\t";
InlineAsmStart = "# InlineAsm Start";
InlineAsmEnd = "# InlineAsm End";
OpenPOWER on IntegriCloud