commit | 560706d5d2589ef510f5436d69ab510a351b8cf7 | [log] [tgz] |
---|---|---|
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | Fri Jan 18 11:58:06 2019 +0100 |
committer | Kees Cook <keescook@chromium.org> | Sun Jan 20 14:06:40 2019 -0800 |
tree | aaf4685dbe212ad2e0b996308905a1cd16ffdf29 | |
parent | 1c7fc5cbc33980acd13d668f1c8f0313d6ae9fd8 [diff] |
gcc-plugins: arm_ssp_per_task_plugin: sign extend the SP mask The ARM per-task stack protector GCC plugin hits an assert in the compiler in some case, due to the fact the the SP mask expression is not sign-extended as it should be. So fix that. Suggested-by: Kugan Vivekanandarajah <kugan.vivekanandarajah@linaro.org> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Kees Cook <keescook@chromium.org>