]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Simplify the RISC-V kernel linker invocation
authorMitchell Horne <mhorne@FreeBSD.org>
Fri, 22 May 2020 18:54:56 +0000 (18:54 +0000)
committerMitchell Horne <mhorne@FreeBSD.org>
Fri, 22 May 2020 18:54:56 +0000 (18:54 +0000)
commite1a6e0e33e32d384c1419b311db3a4a3ace1ecc5
tree49e1d8dc1889befc56f44d5f79d82dd7593c12f6
parentbfcb817bcd70fa17c7e65e72f15089eee9e53ce3
Simplify the RISC-V kernel linker invocation

Remove our custom SYSTEM_LD definition. This generates program headers
that are more consistent with other architectures, and more importantly,
are in line with what loader(8) expects when loading a kernel.

As noted in https://reviews.freebsd.org/D22920, there is no apparent
reason why the kernel would need a writable text segment, so removal of
the -N flag isn't likely to cause issue.

Reviewed by: kp, br
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D24909
sys/conf/Makefile.riscv