On Wed, Apr 18, 2018 at 3:31 PM, Jakub Jelinek <ja...@redhat.com> wrote: > On Wed, Apr 18, 2018 at 12:24:15PM -0700, H.J. Lu wrote: >> >> So untested patch would be something like: >> > >> > Yes, this is what I think should be the most appropriate approach. > > Here is the patch with slightly tweaked install.texi and the all the > regenerated bits too. > > Bootstrapped/regtested on x86_64-linux and i686-linux (without any of > --enable-cet*/--disable-cet, with no -fct-protection -mcet in libraries, > change compared to previous bootstrap), additionally tested > (non-bootstrap build) with --enable-cet=auto, --disable-cet and --enable-cet . > Ok for trunk? > > 2018-04-18 Jakub Jelinek <ja...@redhat.com> > > * config/cet.m4 (GCC_CET_FLAGS): Default to --disable-cet, replace > --enable-cet=default with --enable-cet=auto. > > * doc/install.texi: Document --disable-cet being the default and > --enable-cet=auto. > > * configure: Regenerated. >
LGTM. Thanks. -- H.J.