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
This commit is contained in:
Rafael Espindola
2008-12-03 11:01:37 +00:00
parent 269bc0042f
commit 952b839ce9
6 changed files with 22 additions and 2 deletions

View File

@@ -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 ";