CVSROOT: /cvs Module name: src Changes by: gkoeh...@cvs.openbsd.org 2021/05/10 11:29:41
Modified files: sys/arch/macppc/conf: Makefile.macppc ld.script sys/arch/macppc/stand/ofwboot: Makefile Added files: sys/arch/macppc/stand/ofwboot: ld.script Log message: Add ld.script for macppc kernel, ofwboot These are copies of powerpc64/conf/ld.script with some changes for macppc. They work with both ld.bfd and ld.lld. The ld.script fixes ld.lld. Without ld.script, lld would set the symbol "etext" to a wrong value like 0x10000034, then ofwboot would freeze and fail to boot the kernel. With ld.script, we PROVIDE a correct etext. ok kettenis@