diff options
author | 2024-07-27 05:19:32 -0400 | |
---|---|---|
committer | 2024-07-27 05:19:32 -0400 | |
commit | 2741f0788ab051b9f2e6f28dc34cdb384f360145 (patch) | |
tree | 85e4b2d645e6446a2c500c0cb3a44a1f839ccc7a | |
parent | Linux patch 5.10.223 (diff) | |
download | linux-patches-5.10.tar.gz linux-patches-5.10.tar.bz2 linux-patches-5.10.zip |
Removed:
2945_handle-gcc-14-last-stmt-rename.patch
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
-rw-r--r-- | 2945_handle-gcc-14-last-stmt-rename.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/2945_handle-gcc-14-last-stmt-rename.patch b/2945_handle-gcc-14-last-stmt-rename.patch deleted file mode 100644 index b04ce8da..00000000 --- a/2945_handle-gcc-14-last-stmt-rename.patch +++ /dev/null @@ -1,31 +0,0 @@ -From: Kees Cook <keescook@chromium.org> -To: linux-hardening@vger.kernel.org -Cc: Kees Cook <keescook@chromium.org>, linux-kernel@vger.kernel.org -Subject: [PATCH] gcc-plugins: Rename last_stmt() for GCC 14+ -Date: Thu, 10 Aug 2023 23:05:49 -0700 [thread overview] -Message-ID: <20230811060545.never.564-kees@kernel.org> (raw) - -In GCC 14, last_stmt() was renamed to last_nondebug_stmt(). Add a helper -macro to handle the renaming. - -Cc: linux-hardening@vger.kernel.org -Signed-off-by: Kees Cook <keescook@chromium.org> ---- - scripts/gcc-plugins/gcc-common.h | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/scripts/gcc-plugins/gcc-common.h b/scripts/gcc-plugins/gcc-common.h -index 84c730da36dd..1ae39b9f4a95 100644 ---- a/scripts/gcc-plugins/gcc-common.h -+++ b/scripts/gcc-plugins/gcc-common.h -@@ -440,4 +440,8 @@ static inline void debug_gimple_stmt(const_gimple s) - #define SET_DECL_MODE(decl, mode) DECL_MODE(decl) = (mode) - #endif - -+#if BUILDING_GCC_VERSION >= 14000 -+#define last_stmt(x) last_nondebug_stmt(x) -+#endif -+ - #endif --- -2.34.1 |