This patch fixes the following lld link errors:
- unsupported dynamic relocations on read-only sections
- out-of-range TOC references
It also changes PowerPC64 linker script, to make lld behave more like
ld.bfd, and put the kernel into a single load program header. Without
this change, the kernel doesn't boot.
This patch is derived from git_bdragon.rtk0.net work, that did most of
the changes in fact. BTW, git_bdragon.rtk0.net, I've left the changes in
sys/conf/Makefile.powerpc, sys/conf/kern.pre.mk and
sys/powerpc/include/vparam.h out. Are they needed on 32-bit?
Should they be included in this revision? Or in another one, maybe?