summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmInfoCOFF.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-19 05:08:13 +0000
committerChris Lattner <sabre@nondot.org>2010-01-19 05:08:13 +0000
commitb1f2934fc73d4832a1772d70208f726cafefb7df (patch)
tree8d528da90bff5585eaa90fc1eb0354136c04355e /llvm/lib/MC/MCAsmInfoCOFF.cpp
parent826d77fb07a026d9cf8ff4579bf4a77d497b684b (diff)
downloadbcm5719-llvm-b1f2934fc73d4832a1772d70208f726cafefb7df.tar.gz
bcm5719-llvm-b1f2934fc73d4832a1772d70208f726cafefb7df.zip
hookize the cygwin ".linkonce" directive.
llvm-svn: 93855
Diffstat (limited to 'llvm/lib/MC/MCAsmInfoCOFF.cpp')
-rw-r--r--llvm/lib/MC/MCAsmInfoCOFF.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCAsmInfoCOFF.cpp b/llvm/lib/MC/MCAsmInfoCOFF.cpp
index 23b0dd77916..1b27bf026ec 100644
--- a/llvm/lib/MC/MCAsmInfoCOFF.cpp
+++ b/llvm/lib/MC/MCAsmInfoCOFF.cpp
@@ -25,6 +25,7 @@ MCAsmInfoCOFF::MCAsmInfoCOFF() {
HiddenDirective = NULL;
PrivateGlobalPrefix = "L"; // Prefix for private global symbols
WeakRefDirective = "\t.weak\t";
+ LinkOnceDirective = "\t.linkonce same_size\n";
SetDirective = "\t.set\t";
// Set up DWARF directives
OpenPOWER on IntegriCloud