[ELF] - Do not handle ELF and program header as dummy sections.
authorGeorge Rimar <grimar@accesssoftek.com>
Wed, 6 Apr 2016 07:20:45 +0000 (07:20 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Wed, 6 Apr 2016 07:20:45 +0000 (07:20 +0000)
commit7ca0627c51b31650281654dbadf080f1ec6d46ec
tree947c986ea04cd1de866fa6082df4e93f17a9ed95
parent12fd50410d970f111f4a36d567fac6c0c25d991f
[ELF] - Do not handle ELF and program header as dummy sections.

ELF and program header are not part of OutputSections list anymore.
That helps to avoid having and working with functions like dummySectionsNum().
Still keeping them as sections helps to simplify the code.

Differential revision: http://reviews.llvm.org/D18743

llvm-svn: 265522
lld/ELF/Writer.cpp