summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ADT/TripleTest.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-01-24 03:41:20 +0000
committerRui Ueyama <ruiu@google.com>2017-01-24 03:41:20 +0000
commitb2a23cf3c08cee45614f27eb2c6d044e506aa6a6 (patch)
treeb5a39d198e1afea7aa31d0db136cd674940f9328 /llvm/unittests/ADT/TripleTest.cpp
parenteb440a14a56f3b40ab6881adfe0665d53722af7d (diff)
downloadbcm5719-llvm-b2a23cf3c08cee45614f27eb2c6d044e506aa6a6.tar.gz
bcm5719-llvm-b2a23cf3c08cee45614f27eb2c6d044e506aa6a6.zip
Do not allocate space for common symbols with -r
Currently ld.lld -r allocates space for common symbols, whereas ld.bfd -r doesn't. As a result the OpenBSD makefile bits for creating libraries fail as they use ld -X -r to strip local symbols, which results in duplicate symbol errors because space for the common symbols has been allocated. The diff also implements the --define-commons option such that allocation of commons can be forced even if -r is used. Patch by Mark Kettenis. llvm-svn: 292878
Diffstat (limited to 'llvm/unittests/ADT/TripleTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud