summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2017-04-12 00:13:48 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2017-04-12 00:13:48 +0000
commita76349bffe3ad01cfffbc14f8077ab2df65314aa (patch)
treea5e7edbae0cd51bb0363de7cde64d2665162c679 /clang/lib/CodeGen/CodeGenModule.cpp
parent13c8daf57ad364852abdfaca369f05459eb01b7f (diff)
downloadbcm5719-llvm-a76349bffe3ad01cfffbc14f8077ab2df65314aa.tar.gz
bcm5719-llvm-a76349bffe3ad01cfffbc14f8077ab2df65314aa.zip
[lld] Keep full library path in DT_NEEDED.
Fixes PR32572. When (a) a library has no soname and (b) library is given on the command line with path (and not through -L/-l flags) DT_NEEDED entry for such library keeps the path as given. This behavior is consistent with gold and bfd, and is used in compiler-rt test suite. This is a second attempt after r300007 got reverted. This time relro-omagic test is changed in a way to avoid hardcoding the path to the test directory in the objdump'd binary. llvm-svn: 300011
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud