diff options
author | Dale Johannesen <dalej@apple.com> | 2008-09-09 01:21:22 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-09-09 01:21:22 +0000 |
commit | f080225490f700e627b6b01aba5b67270711d99e (patch) | |
tree | 118a138487d47338edf0aef71023d3b1c5014f0d /llvm/lib/Target/X86/X86TargetAsmInfo.cpp | |
parent | 72eb6e76e4d23232f4970a1cb3164df13888e234 (diff) | |
download | bcm5719-llvm-f080225490f700e627b6b01aba5b67270711d99e.tar.gz bcm5719-llvm-f080225490f700e627b6b01aba5b67270711d99e.zip |
Fix logic for not emitting no-dead-strip for some
objects in llvm.used (thanks Anton). Makes visible
the magic 'l' prefix for symbols on Darwin which are
to be passed through the assembler, then removed at
linktime (previously all references to this had been
hidden in the ObjC FE code, oh well).
llvm-svn: 55973
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetAsmInfo.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86TargetAsmInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp index be390c23963..64858f89bd5 100644 --- a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp +++ b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp @@ -136,6 +136,7 @@ X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo(const X86TargetMachine &TM): Data64bitsDirective = 0; // we can't emit a 64-bit unit ZeroDirective = "\t.space\t"; // ".space N" emits N zeros. PrivateGlobalPrefix = "L"; // Marker for constant pool idxs + LessPrivateGlobalPrefix = "l"; // Marker for some ObjC metadata BSSSection = 0; // no BSS section. ZeroFillDirective = "\t.zerofill\t"; // Uses .zerofill if (DTM->getRelocationModel() != Reloc::Static) |