[PATCH] D38790: [ELF] Avoid keeping useless undefined symbols in .dynsym.
Igor Kudrin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 11 02:26:48 PDT 2017
ikudrin created this revision.
ikudrin added a project: lld.
Herald added a subscriber: emaste.
These symbols introduce unwanted dependencies.
It may result in creating a DSO which prevents linking an executable which uses that DSO,
for example, if another linker is used to link that executable, or if lld starts reporting
unresolved symbols in shared libraries one day.
Repository:
rL LLVM
https://reviews.llvm.org/D38790
Files:
ELF/Relocations.cpp
ELF/Symbols.cpp
ELF/Symbols.h
ELF/Writer.cpp
test/ELF/Inputs/gnu-hash-table.s
test/ELF/Inputs/progname.s
test/ELF/gc-collect-undefined.s
test/ELF/gnu-hash-table.s
test/ELF/lto/Inputs/shlib-undefined.s
test/ELF/lto/shlib-undefined.ll
test/ELF/progname.s
test/ELF/undef-version-script.s
test/ELF/weak-undef.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38790.118564.patch
Type: text/x-patch
Size: 6013 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171011/3f3b4d25/attachment.bin>
More information about the llvm-commits
mailing list