diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2014-04-11 19:35:34 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2014-04-11 19:35:34 +0000 |
commit | ad17ccef24b2078275201d62c1feaa1aad6be8e3 (patch) | |
tree | 27304de6b39e9318348ae57958269a4db80facf5 /lib/MC/MCAsmInfoDarwin.cpp | |
parent | ebe4eae0b3bbf7fc7b011cc7ff7a08afe37e92a0 (diff) | |
download | llvm-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.cpp | 1 |
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 |