History log of /openbsd/sys/arch/macppc/conf/ld.script (Results 1 – 2 of 2)
Revision Date Author Comments
# f9a50ba4 10-May-2021 gkoehler <gkoehler@openbsd.org>

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.s

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@

show more ...


# 15ffcbc2 13-Jun-2017 deraadt <deraadt@openbsd.org>

add a dummy ld.script. macppc does not use one of these yet, but
infrastructure that is coming requires an architecture to carry such a
file.