projects/linux·commit 63863ee8

Merge tag 'gcc-plugins-v5.2-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/kees/linux

63863ee8 · Linus Torvalds <[email protected]> · 2019-05-13 16:01:52 -07:00

Pull gcc plugin fix from Kees Cook:
 "Fix ARM stack-protector-per-task plugin build for older GCC < 6 (Chris
  Packham)"

* tag 'gcc-plugins-v5.2-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/kees/linux:
  gcc-plugins: arm_ssp_per_task_plugin: Fix for older GCC < 6
Commit
63863ee8e2f6f6ae47be3dff4af2f2806f5ca2dd
Parents
fbcde197 · 259799ea

Merge commit. Changes below are compared with the first parent: fbcde197.

Changes

1 files changed · +1 −1

FileStatusAddDelContent
scripts/gcc-plugins/arm_ssp_per_task_plugin.cmodified+1−1View file

scripts/gcc-plugins/arm_ssp_per_task_plugin.c

View file
diff --git a/scripts/gcc-plugins/arm_ssp_per_task_plugin.c b/scripts/gcc-plugins/arm_ssp_per_task_plugin.c
index 89c47f5..8c1af9b 100644
--- a/scripts/gcc-plugins/arm_ssp_per_task_plugin.c
+++ b/scripts/gcc-plugins/arm_ssp_per_task_plugin.c
@@ -36,7 +36,7 @@ static unsigned int arm_pertask_ssp_rtl_execute(void)
mask = GEN_INT(sext_hwi(sp_mask, GET_MODE_PRECISION(Pmode)));
masked_sp = gen_reg_rtx(Pmode);
- emit_insn_before(gen_rtx_SET(masked_sp,
+ emit_insn_before(gen_rtx_set(masked_sp,
gen_rtx_AND(Pmode,
stack_pointer_rtx,
mask)),