aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-11-17 21:20:16 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-11-17 21:20:16 +0000
commitdab02d4b6851bc0230660edd494ea57aee73f317 (patch)
tree8bebd8940fd3860a2b28e817290e69dad67e112c /llvm/lib/Object/COFFObjectFile.cpp
parent3165945a419e4882b94f73f005f9ea4d3d10a985 (diff)
downloadllvm-dab02d4b6851bc0230660edd494ea57aee73f317.zip
llvm-dab02d4b6851bc0230660edd494ea57aee73f317.tar.gz
llvm-dab02d4b6851bc0230660edd494ea57aee73f317.tar.bz2
Allow use define symbols to override linker defined ones.
I hit an internal linker script that was defining _DYNAMIC instead of letting the linker do it. It turns out that both bfd and gold allow that. This is pretty easy to implement, just make the linker defined symbol weak. This should have no impact in the case where there is no user defined symbol: The visibility is hidden, which causes the output to still be local. llvm-svn: 287260
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions