Re: powerpc ld.lld fix

2020-11-01 Thread Mark Kettenis
> From: Philip Guenther > Date: Sun, 1 Nov 2020 05:06:13 -0900 > > Makes sense. This code is just the space reservation, the relocation > generation or whatever fills them in is suppressed already, yes? Assuming > so, r+ Yes. The slots are reserved such that ld.so can fill them in. > On

Re: powerpc ld.lld fix

2020-11-01 Thread Philip Guenther
Makes sense. This code is just the space reservation, the relocation generation or whatever fills them in is suppressed already, yes? Assuming so, r+ On Sat, Oct 31, 2020 at 2:46 PM Mark Kettenis wrote: > > Date: Sat, 10 Oct 2020 23:19:19 +0200 (CEST) > > From: Mark Kettenis > > > > On

Re: powerpc ld.lld fix

2020-10-31 Thread Mark Kettenis
> Date: Sat, 10 Oct 2020 23:19:19 +0200 (CEST) > From: Mark Kettenis > > On powerpc with the secure-plt ABI we need a .got section, even if the > _GLOBAL_OFFSET_TABLE_ symbol isn't referenced. This is needed because > the first three entries of the GOT are used by the dynamic linker. > > With

powerpc ld.lld fix

2020-10-10 Thread Mark Kettenis
On powerpc with the secure-plt ABI we need a .got section, even if the _GLOBAL_OFFSET_TABLE_ symbol isn't referenced. This is needed because the first three entries of the GOT are used by the dynamic linker. With this fix I can build executables of all flavours (including -static/-nopie). ok?