freebsd-dev/sys/powerpc/conf
Brandon Bergren ab3f2a3861 Add support for building Book-E kernels with clang/lld.
This involved several changes:

* Since lld does not like text relocations, replace SMP boot page text relocs
in booke/locore.S with position-independent math, and track the virtual base
in the SMP boot page header.

* As some SPRs are interpreted differently on clang due to the way it handles
platform-specific SPRs, switch m*dear and m*esr mnemonics out for regular
m*spr. Add both forms of SPR_DEAR to spr.h so the correct encoding is selected.

* Change some hardcoded 32 bit things in the boot page to be pointer-sized, and
fix alignment.

* Fix 64-bit build of booke/pmap.c when enabling pmap debugging.

Additionally, I took the opportunity to document how the SMP boot page works.

Approved by: jhibbits (mentor)
Differential Revision: https://reviews.freebsd.org/D21999
2019-11-02 21:15:56 +00:00
..
dpaa Add support for building Book-E kernels with clang/lld. 2019-11-02 21:15:56 +00:00
DEFAULTS
GENERIC Split out a more generic debugnet(4) from netdump(4) 2019-10-17 16:23:03 +00:00
GENERIC64 Split out a more generic debugnet(4) from netdump(4) 2019-10-17 16:23:03 +00:00
GENERIC64-NODEBUG Create GENERIC64-NODEBUG for powerpc64 2018-02-04 14:27:12 +00:00
GENERIC-NODEBUG Update several more URLs 2017-10-29 08:17:03 +00:00
GENERIC.hints
Makefile
MPC85XX Fix bogusly declared WERRORs in kernel build 2019-08-25 19:39:31 +00:00
MPC85XXSPE Fix bogusly declared WERRORs in kernel build 2019-08-25 19:39:31 +00:00
NOTES Fix powerpc LINT build 2019-08-12 23:25:21 +00:00
QORIQ64 Fix bogusly declared WERRORs in kernel build 2019-08-25 19:39:31 +00:00