diff options
author | Igor Kudrin <ikudrin@accesssoftek.com> | 2017-11-27 05:51:10 +0000 |
---|---|---|
committer | Igor Kudrin <ikudrin@accesssoftek.com> | 2017-11-27 05:51:10 +0000 |
commit | 40007586fcde4f77a4f09fc6b916fba45bb55d84 (patch) | |
tree | bff5a68d4a6add98c8c9b88725a18f18c9a1fdad /llvm/lib/CodeGen/BranchRelaxation.cpp | |
parent | 2ce208d8e2a7a403ffbf66bbf8811d55495341d3 (diff) | |
download | bcm5719-llvm-40007586fcde4f77a4f09fc6b916fba45bb55d84.tar.gz bcm5719-llvm-40007586fcde4f77a4f09fc6b916fba45bb55d84.zip |
[ELF] Do not keep symbols if they referenced only from discarded sections.
This patch also ensures that in case of "--as-needed" is used,
DT_NEEDED entries are not created if they are required only by
these eliminated symbols.
Differential Revision: https://reviews.llvm.org/D38790
llvm-svn: 319008
Diffstat (limited to 'llvm/lib/CodeGen/BranchRelaxation.cpp')
0 files changed, 0 insertions, 0 deletions