summaryrefslogtreecommitdiff
path: root/lib/Target/XCore/XCoreTargetObjectFile.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-11-22 16:14:30 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-11-22 16:14:30 +0000
commita6c0249619351b8cfa54a9e85eb3a3f1421bb315 (patch)
tree43a6e058eeb9b72c9da5beed9e2ff4d5131e7485 /lib/Target/XCore/XCoreTargetObjectFile.cpp
parenta24e7f7d8cc7f1e4e1582cb2f3ef9748d92fd7e4 (diff)
downloadllvm-a6c0249619351b8cfa54a9e85eb3a3f1421bb315.tar.gz
llvm-a6c0249619351b8cfa54a9e85eb3a3f1421bb315.tar.bz2
llvm-a6c0249619351b8cfa54a9e85eb3a3f1421bb315.tar.xz
Convert linkonce* to weak* instead of strong.
Also refactor the logic into a helper function. This is an important improvement on mingw where the linker complains about mixed weak and strong symbols. Converting to weak ensures that the symbol is not dropped, but keeps in a comdat, making the linker happy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195470 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreTargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions