Re: [PATCH, rs6000] Pass --secure-plt to the linker

2015-10-20 Thread Szabolcs Nagy
On 20/10/15 06:16, Alan Modra wrote: On Mon, Oct 19, 2015 at 08:10:32PM +0100, Szabolcs Nagy wrote: On 19/10/15 14:04, Szabolcs Nagy wrote: On 19/10/15 12:12, Alan Modra wrote: On Thu, Oct 15, 2015 at 06:50:50PM +0100, Szabolcs Nagy wrote: A powerpc toolchain built with (or without)

Re: [PATCH, rs6000] Pass --secure-plt to the linker

2015-10-20 Thread David Edelsohn
On Tue, Oct 20, 2015 at 3:38 PM, Szabolcs Nagy wrote: > On 20/10/15 06:16, Alan Modra wrote: >> >> On Mon, Oct 19, 2015 at 08:10:32PM +0100, Szabolcs Nagy wrote: >>> >>> On 19/10/15 14:04, Szabolcs Nagy wrote: On 19/10/15 12:12, Alan Modra wrote: > > On

Re: [PATCH, rs6000] Pass --secure-plt to the linker

2015-10-20 Thread Alan Modra
On Tue, Oct 20, 2015 at 03:40:14PM -0500, David Edelsohn wrote: > On Tue, Oct 20, 2015 at 3:38 PM, Szabolcs Nagy wrote: > > 2015-10-20 Gregor Richards > > Szabolcs Nagy > > > > *

Re: [PATCH, rs6000] Pass --secure-plt to the linker

2015-10-19 Thread Alan Modra
On Thu, Oct 15, 2015 at 06:50:50PM +0100, Szabolcs Nagy wrote: > A powerpc toolchain built with (or without) --enable-secureplt > currently creates a binary that uses bss plt if > > (1) any of the linked PIC objects have bss plt relocs > (2) or all the linked objects are non-PIC or have no

Re: [PATCH, rs6000] Pass --secure-plt to the linker

2015-10-19 Thread Szabolcs Nagy
On 19/10/15 12:12, Alan Modra wrote: On Thu, Oct 15, 2015 at 06:50:50PM +0100, Szabolcs Nagy wrote: A powerpc toolchain built with (or without) --enable-secureplt currently creates a binary that uses bss plt if (1) any of the linked PIC objects have bss plt relocs (2) or all the linked objects

Re: [PATCH, rs6000] Pass --secure-plt to the linker

2015-10-19 Thread Szabolcs Nagy
On 19/10/15 14:04, Szabolcs Nagy wrote: On 19/10/15 12:12, Alan Modra wrote: On Thu, Oct 15, 2015 at 06:50:50PM +0100, Szabolcs Nagy wrote: A powerpc toolchain built with (or without) --enable-secureplt currently creates a binary that uses bss plt if (1) any of the linked PIC objects have bss

Re: [PATCH, rs6000] Pass --secure-plt to the linker

2015-10-19 Thread Alan Modra
On Mon, Oct 19, 2015 at 08:10:32PM +0100, Szabolcs Nagy wrote: > On 19/10/15 14:04, Szabolcs Nagy wrote: > >On 19/10/15 12:12, Alan Modra wrote: > >>On Thu, Oct 15, 2015 at 06:50:50PM +0100, Szabolcs Nagy wrote: > >>>A powerpc toolchain built with (or without) --enable-secureplt > >>>currently

Re: [PATCH, rs6000] Pass --secure-plt to the linker

2015-10-15 Thread David Edelsohn
On Thu, Oct 15, 2015 at 1:50 PM, Szabolcs Nagy wrote: > A powerpc toolchain built with (or without) --enable-secureplt > currently creates a binary that uses bss plt if > > (1) any of the linked PIC objects have bss plt relocs > (2) or all the linked objects are non-PIC or