]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader/powerpc: Share ldscript
authorWarner Losh <imp@FreeBSD.org>
Sun, 25 Feb 2024 00:56:31 +0000 (17:56 -0700)
committerWarner Losh <imp@FreeBSD.org>
Sun, 25 Feb 2024 00:56:31 +0000 (17:56 -0700)
commitfe4ab1fdb0da06ddfbd8bf168db9f91b66609253
tree0cb79fe63712fc836d3258c2be9cc4b496e08c3c
parentacb474c084b8e3b7bb738a286f9218f926a15823
loader/powerpc: Share ldscript

Share ldscript between the different ppc versions. There's two different
scripts since we build 32-bit binaries for all types of powerpc, but
have little endian and big endian variations that are different by only
two lines. Set the output format and include the rest.

Move to foo.ldscript as well.

Sponsored by: Netflix
Reviewed by: tsoome, kevans
Differential Revision: https://reviews.freebsd.org/D44058
stand/powerpc/ofw/Makefile
stand/powerpc/ofw/ldscript.powerpcle [deleted file]
stand/powerpc/ofw/powerpc.ldscript [new file with mode: 0644]
stand/powerpc/ofw/powerpc64.ldscript [new file with mode: 0644]
stand/powerpc/ofw/powerpc64le.ldscript [new file with mode: 0644]
stand/powerpc/ofw/powerpcspe.ldscript [new file with mode: 0644]
stand/powerpc/ofw/ppc-common.ldscript [moved from stand/powerpc/ofw/ldscript.powerpc with 97% similarity]