freebsd-dev/stand/powerpc/ofw
Alfredo Dal'Ava Junior 5d48fb3b16 loader: fix powerpc* ofw loader
With the introduction of llvm14, the powerpc* loader used on ofw/pseries
for 32 and 64 bit architectures puts the .data.rel.ro section after
.data section. This caused a crash kernel didn't boot. Bisect pointed to
change https://reviews.llvm.org/D111717 but problem could be fixed by
adding a section description to make it appear in the expected order.

This patch is based on discussion at:
        https://github.com/llvm/llvm-project/issues/56306

MFC after:	1 day
Sponsored by:	Instituto de Pesquisas Eldorado (eldorado.org.br)
2022-07-01 12:56:46 -03:00
..
cas.c powerpc64: tell kernel when radix is not available 2021-10-22 13:44:21 -03:00
conf.c stand: s/libstand/libsa/g to catch up with rename 2022-04-30 07:34:19 -06:00
elf_freebsd.c [PowerPC64] stand: fix build using clang 8 as compiler 2019-05-20 19:21:35 +00:00
ldscript.powerpc loader: fix powerpc* ofw loader 2022-07-01 12:56:46 -03:00
ldscript.powerpcle powerpc64le: stand fixes 2021-10-20 15:48:33 -03:00
main.c powerpc64le: stand fixes 2021-10-20 15:48:33 -03:00
Makefile loader: move all gfx_fb.c stubs to common/gfx_fb_stub.c 2021-12-14 15:27:47 -07:00
ofwfdt.c powerpc64le: stand fixes 2021-10-20 15:48:33 -03:00
ppc64_elf_freebsd.c [PowerPC64] stand: fix build using clang 8 as compiler 2019-05-20 19:21:35 +00:00
start.c Declare our strange brand of main(). 2017-12-03 04:55:14 +00:00
trampolineLE.S powerpc64le: stand fixes 2021-10-20 15:48:33 -03:00
version