freebsd-dev/stand/powerpc
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
..
boot1.chrp [PowerPC64] stand: fix build using clang 8 as compiler 2019-05-20 19:21:35 +00:00
kboot powerpc: Use builtins for fls/flsl 2019-12-08 04:36:42 +00:00
ofw [PowerPC] Fix LLD10 linking of ofw loader on ppc 2020-02-25 00:45:09 +00:00
uboot [PowerPC] Fix 32-bit ubldr calling convention 2020-01-19 04:13:19 +00:00
Makefile stand: TARGET_ARCH is spelled MACHINE_ARCH in Makefiles 2019-05-21 03:05:24 +00:00
Makefile.inc