Handle empty sections with symbol assignments.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 22 Sep 2016 14:40:50 +0000 (14:40 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 22 Sep 2016 14:40:50 +0000 (14:40 +0000)
commit9546fffbfe2be1709a0ca14229d40dde1a9d9666
tree0d1ac23b7bf44f248fe248c8b753b52120142212
parente5555e217cbfc3f8a8d04c5d8cab64d8a6df2004
Handle empty sections with symbol assignments.

Before the symbols were becoming undefined.

llvm-svn: 282159
lld/ELF/LinkerScript.cpp
lld/ELF/LinkerScript.h
lld/ELF/Writer.cpp
lld/test/ELF/linkerscript/extend-pt-load.s [new file with mode: 0644]
lld/test/ELF/linkerscript/symbol-only.s [new file with mode: 0644]