aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/DarwinTargetAsmInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/DarwinTargetAsmInfo.cpp')
-rw-r--r--lib/Target/DarwinTargetAsmInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/DarwinTargetAsmInfo.cpp b/lib/Target/DarwinTargetAsmInfo.cpp
index a37bf18a97..937d057568 100644
--- a/lib/Target/DarwinTargetAsmInfo.cpp
+++ b/lib/Target/DarwinTargetAsmInfo.cpp
@@ -48,10 +48,10 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const Triple &Triple) {
HasDotTypeDotSizeDirective = false;
UsedDirective = "\t.no_dead_strip\t";
- // On Leoaprd (10.5 aka darwin9) and earlier, _foo.eh symbols must be exported
+ // On Leopard (10.5 aka darwin9) and earlier, _foo.eh symbols must be exported
// so that the linker knows about them. This is not necessary on 10.6 and
// later, but it doesn't hurt anything.
- if (Triple.getDarwinMajorNumber() >= 10)
+ if (Triple.getDarwinMajorNumber() < 10)
Is_EHSymbolPrivate = false;
// Leopard (10.5 aka darwin9) and later support aligned common symbols.