Revert "Tentative fix for powerpc boot1.chrp linking problem."
This reverts base4822a2cf99. The change in baseaa0bc7cca1already 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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user