söndag 05 juli 2015 23.59.32 skrev Magnus Granberg: > Changlogs > /gcc > 2015-07-05 Magnus Granberg > > * common.opt (fstack-protector): Initialize to -1. > (fstack-protector-all): Likewise. > (fstack-protector-strong): Likewise. > (fstack-protector-explicit): Likewise. > * configure.ac: Add --enable-default-ssp. > * defaults.h (DEFAULT_FLAG_SSP): New. Default SSP to strong. > * opts.c (finish_options): Update opts->x_flag_stack_protect if it > is -1. * doc/install.texi: Document --enable-default-ssp. > * config.in: Regenerated. > * configure: Likewise. > > /testsuite > 2015-07-05 Magnus Granberg > > * lib/target-supports.exp > (check_effective_target_fstack_protector_enabled): New test. > * gcc.target/i386/ssp-default.c: New test. Patch updated and tested on x86_64-unknown-linux-gnu (Gentoo) Changlogs /gcc 2015-07-05 Magnus Granberg * common.opt (fstack-protector): Initialize to -1. (fstack-protector-all): Likewise. (fstack-protector-strong): Likewise. (fstack-protector-explicit): Likewise. * configure.ac: Add --enable-default-ssp. * defaults.h (DEFAULT_FLAG_SSP): New. Default SSP to strong. * opts.c (finish_options): Update opts->x_flag_stack_protect if it is -1. * doc/install.texi: Document --enable-default-ssp. * config.in: Regenerated. * configure: Likewise. /testsuite 2015-07-13 Magnus Granberg * lib/target-supports.exp (check_effective_target_fstack_protector_enabled): New test. * gcc.target/i386/ssp-default.c: New test. ---