Before this change, LLD10 was creating several extra PT_LOAD sections, which OFW does not understand. Like we do for the kernel already, specify the program headers manually. Additionally, to work around a crash in our base ld.bfd, we need to actually assign something to the output section. LLD does not need this. One side effect of this change is the removal of the GNU_STACK header. This is more correct, since we are using a statically-allocated stack and RWX mappings across the board this early in boot. Reviewed by: jhibbits, Fangrui Song <i@maskray.me> Sponsored by: Tag1 Consulting, Inc. Differential Revision: https://reviews.freebsd.org/D23778 |
||
---|---|---|
.. | ||
cas.c | ||
conf.c | ||
elf_freebsd.c | ||
ldscript.powerpc | ||
main.c | ||
Makefile | ||
ofwfdt.c | ||
ppc64_elf_freebsd.c | ||
start.c | ||
version |