Error out instead of producing a corrupt PT_LOAD.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 15 Sep 2016 21:22:11 +0000 (21:22 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 15 Sep 2016 21:22:11 +0000 (21:22 +0000)
commit4ec013ac8312604ebb72159e47814ff185adcbed
treec6d576fe70e120ca94eaecb39e11f5481737ebdd
parent8cea92b972f9c20dd2e0a588eda812706fbd445f
Error out instead of producing a corrupt PT_LOAD.

What bfd and gold do is give up in putting the headers in the PT_LOAD
and just start the PT_LOAD in the second page.

llvm-svn: 281660
lld/ELF/LinkerScript.cpp
lld/test/ELF/linkerscript/no-space.s [new file with mode: 0644]