Module Name: src Committed By: mrg Date: Wed Mar 28 19:22:32 UTC 2018
Modified Files: src/external/gpl3/gcc/dist/gcc/config/i386: constraints.md i386-opts.h i386-protos.h i386.c i386.h i386.md i386.opt predicates.md src/external/gpl3/gcc/dist/gcc/doc: extend.texi invoke.texi Log Message: add the spectre mitigation options for x86: -mindirect-branch=<choice> -mfunction-return=<choice> -mindirect-branch-register the values for 'choice' are "keep" (default, existing behaviour), "thunk", "thunk-inline", and "thunk-extern". as taken from the Debian port of these changes in their debian:gcc-6_6.3.0-18+deb9u1.diff. i've also included the doc updates that are missing from debian from gcc itself. i've tested both i386 and amd64 fairly heavily with these options enabled in both kernels and userland, atf runs and hundreds of package builds. To generate a diff of this commit: cvs rdiff -u -r1.1.1.6 -r1.2 \ src/external/gpl3/gcc/dist/gcc/config/i386/constraints.md cvs rdiff -u -r1.1.1.3 -r1.2 \ src/external/gpl3/gcc/dist/gcc/config/i386/i386-opts.h cvs rdiff -u -r1.1.1.5 -r1.2 \ src/external/gpl3/gcc/dist/gcc/config/i386/i386-protos.h \ src/external/gpl3/gcc/dist/gcc/config/i386/i386.opt \ src/external/gpl3/gcc/dist/gcc/config/i386/predicates.md cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gcc/dist/gcc/config/i386/i386.c cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/dist/gcc/config/i386/i386.h cvs rdiff -u -r1.1.1.10 -r1.2 \ src/external/gpl3/gcc/dist/gcc/config/i386/i386.md cvs rdiff -u -r1.1.1.9 -r1.2 src/external/gpl3/gcc/dist/gcc/doc/extend.texi cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/dist/gcc/doc/invoke.texi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.