summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMAsmPrinter.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-11-25 16:06:04 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-11-25 16:06:04 +0000
commitedcf1ff7d1855d29a8befa335d79e5d0a61523d6 (patch)
treed973a1658ae4a0c529a006477877d84783e588a4 /llvm/lib/Target/ARM/ARMAsmPrinter.cpp
parent3294e05762d478451e76ad566301b275ec4307cb (diff)
downloadbcm5719-llvm-edcf1ff7d1855d29a8befa335d79e5d0a61523d6.tar.gz
bcm5719-llvm-edcf1ff7d1855d29a8befa335d79e5d0a61523d6.zip
Fix .comm and .lcomm on COFF.
These should not use COMDATs. GNU as uses .bss for .lcomm and section 0 for .comm. Given static int a; int b; MSVC puts both in .bss. This patch then puts both .comm and .lcomm on .bss. With this change we agree with gas on .lcomm, are much closer on .comm and clang-cl matches msvc on the above example. llvm-svn: 195654
Diffstat (limited to 'llvm/lib/Target/ARM/ARMAsmPrinter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud