Changeset View
Changeset View
Standalone View
Standalone View
stand/powerpc/boot1.chrp/Makefile
| Show All 15 Lines | |||||
| # 0x38000 is high enough to not interfere with the trap area, but low | # 0x38000 is high enough to not interfere with the trap area, but low | ||||
| # enough that it doesn't bump into the kernel area starting at 0x100000, | # enough that it doesn't bump into the kernel area starting at 0x100000, | ||||
| # even if the entire partition gets used as the load size by a buggy OFW. | # even if the entire partition gets used as the load size by a buggy OFW. | ||||
| # | # | ||||
| # In theory 0xf0000 would work too under the current 64k size limit for | # In theory 0xf0000 would work too under the current 64k size limit for | ||||
| # boot1.elf defined in the HFS template, but sometimes boot1.elf is written | # boot1.elf defined in the HFS template, but sometimes boot1.elf is written | ||||
| # directly to the PReP partition. | # directly to the PReP partition. | ||||
| # | # | ||||
| LDFLAGS=-nostdlib -static -Wl,-N -Wl,-Ttext=0x38000 | LDFLAGS=-nostdlib -static -Wl,-N -Wl,-Ttext=0x38000 -Wl,--image-base=0x38000 | ||||
| .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 | ||||
| # created by generate-hfs.sh | # created by generate-hfs.sh | ||||
| .include "${.CURDIR}/Makefile.hfs" | .include "${.CURDIR}/Makefile.hfs" | ||||
| Show All 15 Lines | |||||