HomePhabricator

[ELF] - Do not remove empty output sections that are explicitly assigned to…

Authored by grimar on Feb 23 2018, 2:53 AM.

Description

[ELF] - Do not remove empty output sections that are explicitly assigned to phdr in script.

This continues direction started in D43069.

We can keep sections that are explicitly assigned to segment in script.
It helps to simplify code.

Differential revision: https://reviews.llvm.org/D43571

llvm-svn: 325887