summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/empty-sections-expressions.s
Commit message (Collapse)AuthorAgeFilesLines
* [ELF] - Do not remove empty sections that use symbols in expressions.George Rimar2018-03-011-0/+18
This is PR36515. Currenly if we have a script like .debug_info 0 : { *(.debug_info) }, we would not remove this section and keep it in the output. That does not work, because it is common case for debug sections to have a zero address expression. Patch changes behavior so that we remove only sections that do not use symbols in its expressions. Differential revision: https://reviews.llvm.org/D43863 llvm-svn: 326430
OpenPOWER on IntegriCloud