[PATCH] D31836: [lld] Keep full library path in DT_NEEDED
Evgeniy Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 10 11:06:52 PDT 2017
eugenis created this revision.
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.
Repository:
rL LLVM
https://reviews.llvm.org/D31836
Files:
ELF/Driver.cpp
ELF/Driver.h
ELF/InputFiles.cpp
ELF/InputFiles.h
test/ELF/as-needed-no-reloc.s
test/ELF/no-soname.s
test/ELF/relro-omagic.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31836.94578.patch
Type: text/x-patch
Size: 6394 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170410/077a5d1e/attachment.bin>
More information about the llvm-commits
mailing list