Re: macppc: add ld.script for kernel, ofwboot

2021-06-05 Thread Brad Smith
On Mon, May 10, 2021 at 09:49:24PM +0200, Mark Kettenis wrote: > > Date: Mon, 10 May 2021 14:22:33 -0400 > > From: George Koehler > > > > On Fri, 7 May 2021 10:31:55 +0200 (CEST) > > Mark Kettenis wrote: > > > > > Makes sense to me. It seems ldd always seems to require a little bit > > > more

Re: macppc: add ld.script for kernel, ofwboot

2021-05-10 Thread Mark Kettenis
> Date: Mon, 10 May 2021 14:22:33 -0400 > From: George Koehler > > On Fri, 7 May 2021 10:31:55 +0200 (CEST) > Mark Kettenis wrote: > > > Makes sense to me. It seems ldd always seems to require a little bit > > more coercion to produce non-standard binaries. We use linker scripts > > for the

Re: macppc: add ld.script for kernel, ofwboot

2021-05-10 Thread George Koehler
On Fri, 7 May 2021 10:31:55 +0200 (CEST) Mark Kettenis wrote: > Makes sense to me. It seems ldd always seems to require a little bit > more coercion to produce non-standard binaries. We use linker scripts > for the various EFI bootloaders as well. > > ok kettenis@ My diff had an extra "pwd"

Re: macppc: add ld.script for kernel, ofwboot

2021-05-07 Thread Mark Kettenis
> Date: Fri, 7 May 2021 00:04:57 -0400 > From: George Koehler > > Hello tech list, > > I want macppc to switch from ld.bfd to ld.lld, but there is a problem > when lld links ofwboot or the kernel. I propose to fix it by adding > ld.script for both. These scripts also work with ld.bfd, so I

macppc: add ld.script for kernel, ofwboot

2021-05-06 Thread George Koehler
Hello tech list, I want macppc to switch from ld.bfd to ld.lld, but there is a problem when lld links ofwboot or the kernel. I propose to fix it by adding ld.script for both. These scripts also work with ld.bfd, so I want to commit my diff at the end of this mail, ok? lld sets the symbol