Re: [PATCH 07/22] Enable building libgcc with CET options.

2017-11-08 Thread H.J. Lu
On Wed, Nov 8, 2017 at 3:04 PM, Jeff Law wrote: > On 11/08/2017 03:06 PM, Tsimbalist, Igor V wrote: > So the question I have WRT this patch is the default setting. If I >>> understand it correctly, if the assembler supports the appropriate >>> insns, then we enable building target libraries with

Re: [PATCH 07/22] Enable building libgcc with CET options.

2017-11-08 Thread Jeff Law
On 11/08/2017 03:06 PM, Tsimbalist, Igor V wrote: So the question I have WRT this patch is the default setting. If I >> understand it correctly, if the assembler supports the appropriate >> insns, then we enable building target libraries with CET by default. > > That's right. > >> These librarie

RE: [PATCH 07/22] Enable building libgcc with CET options.

2017-11-08 Thread Tsimbalist, Igor V
> -Original Message- > From: Jeff Law [mailto:l...@redhat.com] > Sent: Wednesday, November 8, 2017 6:21 PM > To: Tsimbalist, Igor V ; Joseph Myers > ; gcc-patches@gcc.gnu.org; i...@airs.com > Subject: Re: [PATCH 07/22] Enable building libgcc with CET options. > >

Re: [PATCH 07/22] Enable building libgcc with CET options.

2017-11-08 Thread Jeff Law
On 10/31/2017 05:29 AM, Tsimbalist, Igor V wrote: > The revised patch is attached. The differences are in what options are > defined and propagated to Makefile for CET enabling, also needed asm files > are updated. > [ ... ] > > 0007-Enable-building-libgcc-with-CET-options.patch > > > From d

RE: [PATCH 07/22] Enable building libgcc with CET options.

2017-10-31 Thread Tsimbalist, Igor V
Ok, just did it :) Igor > -Original Message- > From: Andreas Schwab [mailto:sch...@linux-m68k.org] > Sent: Tuesday, October 31, 2017 4:00 PM > To: Tsimbalist, Igor V > Cc: Joseph Myers ; gcc-patches@gcc.gnu.org; > Jeff Law ; i...@airs.com > Subject: Re: [PATCH 0

Re: [PATCH 07/22] Enable building libgcc with CET options.

2017-10-31 Thread Andreas Schwab
On Okt 31 2017, "Tsimbalist, Igor V" wrote: > Fixed. > > - i[34567]86-*-linux* | x86_64-*-linux*) > + i[[34567]]86-*-linux* | x86_64-*-linux*) Don't forget to regenerate all configure scripts. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756

RE: [PATCH 07/22] Enable building libgcc with CET options.

2017-10-31 Thread Tsimbalist, Igor V
hes@gcc.gnu.org; > Jeff Law ; i...@airs.com > Subject: Re: [PATCH 07/22] Enable building libgcc with CET options. > > On Okt 31 2017, "Tsimbalist, Igor V" wrote: > > > diff --git a/config/cet.m4 b/config/cet.m4 > > new file mode 100644 > > index

Re: [PATCH 07/22] Enable building libgcc with CET options.

2017-10-31 Thread Andreas Schwab
On Okt 31 2017, "Tsimbalist, Igor V" wrote: > diff --git a/config/cet.m4 b/config/cet.m4 > new file mode 100644 > index 000..c903791 > --- /dev/null > +++ b/config/cet.m4 > @@ -0,0 +1,40 @@ > +dnl > +dnl GCC_CET_FLAGS > +dnl(SHELL-CODE_HANDLER) > +dnl > +AC_DEFUN([GCC_CET_FLAGS],[dnl > +G

RE: [PATCH 07/22] Enable building libgcc with CET options.

2017-10-31 Thread Tsimbalist, Igor V
s > Cc: gcc-patches@gcc.gnu.org; Jeff Law ; i...@airs.com; > Tsimbalist, Igor V > Subject: RE: [PATCH 07/22] Enable building libgcc with CET options. > > > -Original Message- > > From: Joseph Myers [mailto:jos...@codesourcery.com] > > Sent: Thursday, October 12

RE: [PATCH 07/22] Enable building libgcc with CET options.

2017-10-12 Thread Tsimbalist, Igor V
> -Original Message- > From: Joseph Myers [mailto:jos...@codesourcery.com] > Sent: Thursday, October 12, 2017 10:36 PM > To: Tsimbalist, Igor V > Cc: gcc-patches@gcc.gnu.org; Jeff Law ; i...@airs.com > Subject: Re: [PATCH 07/22] Enable building libgcc with CET options. &

Re: [PATCH 07/22] Enable building libgcc with CET options.

2017-10-12 Thread Joseph Myers
On Thu, 12 Oct 2017, Tsimbalist, Igor V wrote: > Enable building libgcc with CET options by default on Linux/x86 if > binutils supports CET v2.0. > It can be disabled with --disable-cet. It is an error to configure > GCC with --enable-cet if bintuiils doesn't support CET v2.0. > > config/ >

[PATCH 07/22] Enable building libgcc with CET options.

2017-10-12 Thread Tsimbalist, Igor V
Enable building libgcc with CET options by default on Linux/x86 if binutils supports CET v2.0. It can be disabled with --disable-cet. It is an error to configure GCC with --enable-cet if bintuiils doesn't support CET v2.0. config/ * cet.m4: New file gcc/ * config.gcc (extra_heade