Re: PATCH, testsuite, x86] Make the requires test for CET a bit stronger.

2019-05-15 Thread Uros Bizjak
On Wed, May 15, 2019 at 8:29 PM Iain Sandoe wrote: > > > > On 15 May 2019, at 19:02, Uros Bizjak wrote: > > > > On Wed, May 15, 2019 at 6:48 PM Iain Sandoe wrote: > >> > >> Hi, > >> > >> There is at least one assembler that supports ‘setssbsy' but not “endbr*”. > >> We can catch this by adding "

Re: PATCH, testsuite, x86] Make the requires test for CET a bit stronger.

2019-05-15 Thread Iain Sandoe
> On 15 May 2019, at 19:02, Uros Bizjak wrote: > > On Wed, May 15, 2019 at 6:48 PM Iain Sandoe wrote: >> >> Hi, >> >> There is at least one assembler that supports ‘setssbsy' but not “endbr*”. >> We can catch this by adding "-fcf-protection” to the >> check_effective_target_cet test. > > H

Re: PATCH, testsuite, x86] Make the requires test for CET a bit stronger.

2019-05-15 Thread Uros Bizjak
On Wed, May 15, 2019 at 6:48 PM Iain Sandoe wrote: > > Hi, > > There is at least one assembler that supports ‘setssbsy' but not “endbr*”. > We can catch this by adding "-fcf-protection” to the > check_effective_target_cet test. How about adding asm ("endbr") to the source? Uros. > OK for trunk