#
70efaa49 |
| 28-Mar-2018 |
mrg <mrg@NetBSD.org> |
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),
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 Ubuntu port of these changes in their ubuntu:gcc-5_5.5.0-8ubuntu1.diff. i've also included the doc updates that are missing from ubuntu 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.
XXX: pullup-8 to gcc/ not gcc.old/
show more ...
|
#
ebf5b196 |
| 25-Feb-2014 |
mrg <mrg@NetBSD.org> |
import the -current GCC 4.5 sources as gcc.old in preparation for upgrading the normal GCC to 4.8.
this tree has had ChangeLog entries removed, as well as all the other components we delete, and "on
import the -current GCC 4.5 sources as gcc.old in preparation for upgrading the normal GCC to 4.8.
this tree has had ChangeLog entries removed, as well as all the other components we delete, and "only" weighs in around 140MB now.
show more ...
|