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