Revert "Tentative fix for powerpc boot1.chrp linking problem."

This reverts base 4822a2cf99. The change
in base aa0bc7cca1 already fixed the
original issue, which is that newer versions of lld complain "section
'.text' address (0x38000) is smaller than image base (0x10000000);
specify --image-base".

Reported by:	ivy
PR:		292067
MFC after:	1 month
This commit is contained in:
Dimitry Andric
2026-04-25 19:06:55 +02:00
parent b6d823e390
commit 7f207b6443
-6
View File
@@ -23,12 +23,6 @@ CFLAGS+=-I${LDRSRC}
# #
LDFLAGS=-nostdlib -static -Wl,-N -Wl,-Ttext=0x38000 -Wl,--image-base=0x38000 LDFLAGS=-nostdlib -static -Wl,-N -Wl,-Ttext=0x38000 -Wl,--image-base=0x38000
.include <bsd.linker.mk>
.if (${LINKER_TYPE} == "bfd" && ${LINKER_VERSION} >= 24400) || \
${LINKER_TYPE} == "lld"
LDFLAGS+=-Wl,--image-base=0
.endif
.PATH: ${SYSDIR}/libkern ${SRCTOP}/lib/libc/powerpc/gen ${.CURDIR} .PATH: ${SYSDIR}/libkern ${SRCTOP}/lib/libc/powerpc/gen ${.CURDIR}
# The following inserts out objects into a template HFS # The following inserts out objects into a template HFS