summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/Inputs/gc-sections-shared2.s
Commit message (Collapse)AuthorAgeFilesLines
* Bring back r319008.Rafael Espindola2017-11-281-0/+3
| | | | | | | | | | | | | | This includes a fix to mark copy reloc aliases as used. Original message: [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. llvm-svn: 319215
* Revert r319008, "[ELF] Do not keep symbols if they referenced only from ↵Igor Kudrin2017-11-281-3/+0
| | | | | | | | | | | discarded sections." and r319051, "Add a missing test." r319008 broke the LTO bots; r319051 depends on changes in r319008. llvm-svn: 319154
* [ELF] Do not keep symbols if they referenced only from discarded sections.Igor Kudrin2017-11-271-0/+3
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
OpenPOWER on IntegriCloud