On Mon, 23 Nov 2020 22:59:19 -0500
George Koehler <[email protected]> wrote:

> My macppc can now build, link,
> and boot the GENERIC kernel with either ld.bfd or ld.lld.

ld.lld with my diff can link macppc kernels GENERIC, GENERIC.MP, and
RAMDISK, and I can boot and run them, but all macppc kernels from lld
have &etext == 0x10000034 which is far too high.

$ nm bsd|grep etext
10000034 T etext

ofwboot with ld.lld doesn't work; I needed to relink ofwboot with
ld.bfd to boot any kernel.  ofwboot also had &etext == 0x10000034,
but I don't know what caused ofwboot to fail.

I still ask if ld.lld diff for R_PPC_ADDR24 is ok.

Reply via email to