freebsd-dev/stand/powerpc/ofw
Brandon Bergren 20ae0afeac [PowerPC] Fix LLD10 linking of ofw loader on ppc
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
2020-02-25 00:45:09 +00:00
..
cas.c loader/powerpc64: Include generic PVR values in CAS architecture list 2019-10-08 02:36:53 +00:00
conf.c
elf_freebsd.c [PowerPC64] stand: fix build using clang 8 as compiler 2019-05-20 19:21:35 +00:00
ldscript.powerpc [PowerPC] Fix LLD10 linking of ofw loader on ppc 2020-02-25 00:45:09 +00:00
main.c [PPC64] Implement CAS 2019-07-31 20:31:36 +00:00
Makefile Move stand/ofw/libofw to stand/libofw. 2020-01-02 04:34:22 +00:00
ofwfdt.c stand: refactor overlay loading a little bit 2019-04-11 13:26:28 +00:00
ppc64_elf_freebsd.c [PowerPC64] stand: fix build using clang 8 as compiler 2019-05-20 19:21:35 +00:00
start.c
version