aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2008-12-03 11:01:37 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2008-12-03 11:01:37 +0000
commit952b839ce9bc0c6d605d8b202c9cd76f7f05a77d (patch)
tree82375a0ebe1f6f414cee46cf8eb7e9453c21f896 /lib/Target/PowerPC
parent269bc0042fc976b13b44c97c6546b4d726073940 (diff)
downloadexternal_llvm-952b839ce9bc0c6d605d8b202c9cd76f7f05a77d.zip
external_llvm-952b839ce9bc0c6d605d8b202c9cd76f7f05a77d.tar.gz
external_llvm-952b839ce9bc0c6d605d8b202c9cd76f7f05a77d.tar.bz2
Fix bug 3140.
Print a single parameter .file directive if we have an ELF target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60480 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r--lib/Target/PowerPC/PPCTargetAsmInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
index f8642b2..4151064 100644
--- a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
+++ b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
@@ -37,6 +37,7 @@ PPCDarwinTargetAsmInfo::PPCDarwinTargetAsmInfo(const PPCTargetMachine &TM):
StaticCtorsSection = ".mod_init_func";
StaticDtorsSection = ".mod_term_func";
}
+ HasSingleParameterDotFile = false;
SwitchToSectionDirective = "\t.section ";
UsedDirective = "\t.no_dead_strip\t";
WeakDefDirective = "\t.weak_definition ";