summaryrefslogtreecommitdiff
path: root/lib/MC/MCAsmInfoDarwin.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-04-11 19:35:34 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-04-11 19:35:34 +0000
commitad17ccef24b2078275201d62c1feaa1aad6be8e3 (patch)
tree27304de6b39e9318348ae57958269a4db80facf5 /lib/MC/MCAsmInfoDarwin.cpp
parentebe4eae0b3bbf7fc7b011cc7ff7a08afe37e92a0 (diff)
downloadllvm-ad17ccef24b2078275201d62c1feaa1aad6be8e3.tar.gz
llvm-ad17ccef24b2078275201d62c1feaa1aad6be8e3.tar.bz2
llvm-ad17ccef24b2078275201d62c1feaa1aad6be8e3.tar.xz
Merging r196970:
------------------------------------------------------------------------ r196970 | fang | 2013-12-10 16:37:41 -0500 (Tue, 10 Dec 2013) | 3 lines on darwin<10, fallback to .weak_definition (PPC,X86) .weak_def_can_be_hidden was not yet supported by the system assembler ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@206050 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r--lib/MC/MCAsmInfoDarwin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCAsmInfoDarwin.cpp b/lib/MC/MCAsmInfoDarwin.cpp
index bea55d420d..351ec56352 100644
--- a/lib/MC/MCAsmInfoDarwin.cpp
+++ b/lib/MC/MCAsmInfoDarwin.cpp
@@ -37,6 +37,7 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() {
// Directives:
HasWeakDefDirective = true;
+ HasWeakDefCanBeHiddenDirective = true;
WeakRefDirective = "\t.weak_reference ";
ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
HasMachoZeroFillDirective = true; // Uses .zerofill