mirror of https://github.com/dynup/kpatch
4df1528cd9
Backport this kernel commit to kpatch's version of gcc-common.h: commit e6a71160cc145e18ab45195abf89884112e02dfb Author: Kees Cook <keescook@chromium.org> Date: Wed Jan 18 12:21:35 2023 -0800 gcc-plugins: Reorganize gimple includes for GCC 13 The gimple-iterator.h header must be included before gimple-fold.h starting with GCC 13. Reorganize gimple headers to work for all GCC versions. Reported-by: Palmer Dabbelt <palmer@rivosinc.com> Acked-by: Palmer Dabbelt <palmer@rivosinc.com> Link: https://lore.kernel.org/all/20230113173033.4380-1-palmer@rivosinc.com/ Cc: linux-hardening@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org> Note that we can't directly copy the gcc-plugin headers from the kernel as has it has dropped gcc-4.9 and older support since v5.16. Distros like rhel-7 still use gcc-4.8, so manually cherry pick changes into the kpatch tree. Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com> |
||
---|---|---|
.. | ||
gcc-common.h | ||
gcc-generate-rtl-pass.h | ||
ppc64le-plugin.c |