Messages in this thread | | | Date | Mon, 16 Mar 2020 19:03:03 +0100 | From | Jakub Jelinek <> | Subject | Re: [PATCH] x86: fix early boot crash on gcc-10 |
| |
On Mon, Mar 16, 2020 at 06:54:50PM +0100, Borislav Petkov wrote: > So having a way to state "do not add stack canary checking to this > particular function" would be optimal. And since you already have the > "stack_protect" function attribute I figure adding a "no_stack_protect" > one should be easy...
Easy, but a waste when GCC already has the optimize attribute that can handle also ~450 other options that are per-function rather than per-TU.
Jakub
| |