Re: [PATCH] FreeBSD PowerPC use secure-plt

2019-09-30 Thread Andreas Tobler
On 26.09.19 08:13, Andreas Tobler wrote: Hi Segher, On 26.09.19 00:49, Segher Boessenkool wrote: On Wed, Sep 25, 2019 at 10:46:57PM +0200, Andreas Tobler wrote: --- gcc/config/rs6000/t-freebsd64 (revision 276090) +++ gcc/config/rs6000/t-freebsd64 (working copy) @@ -27,3 +27,6 @@

Re: [PATCH] FreeBSD PowerPC use secure-plt

2019-09-25 Thread Andreas Tobler
Hi Segher, On 26.09.19 00:49, Segher Boessenkool wrote: On Wed, Sep 25, 2019 at 10:46:57PM +0200, Andreas Tobler wrote: --- gcc/config/rs6000/t-freebsd64 (revision 276090) +++ gcc/config/rs6000/t-freebsd64 (working copy) @@ -27,3 +27,6 @@ MULTILIB_EXCEPTIONS = MULTILIB_OSDI

Re: [PATCH] FreeBSD PowerPC use secure-plt

2019-09-25 Thread Segher Boessenkool
Hi! On Wed, Sep 25, 2019 at 10:46:57PM +0200, Andreas Tobler wrote: > --- gcc/config/rs6000/t-freebsd64 (revision 276090) > +++ gcc/config/rs6000/t-freebsd64 (working copy) > @@ -27,3 +27,6 @@ > MULTILIB_EXCEPTIONS = > MULTILIB_OSDIRNAMES = ../lib32 > > +SECURE_PLT = $(if $(findst

[PATCH] FreeBSD PowerPC use secure-plt

2019-09-25 Thread Andreas Tobler
Hi all, the attached patch makes use of the secure-plt for 32-bit PowerPC on FreeBSD 13 and upwards. The OS support will arrive in FreeBSD 13.0 I'd like to commit this patch to head and later to all open branches. Comments appreciated! If I do not get any, I'll commit in a few days. TIA, An