Blame SOURCES/libgcrypt-1.8.5-intel-cet.patch

e09bf5
From b04c0a86b19856071c29d2a6285f3240c606ee7a Mon Sep 17 00:00:00 2001
e09bf5
From: "H.J. Lu" <hjl.tools@gmail.com>
e09bf5
Date: Tue, 27 Apr 2021 09:08:41 -0700
e09bf5
Subject: [PATCH] Always include <config.h> in cipher assembly codes
e09bf5
e09bf5
* cipher/poly1305-s390x.S: Always include <config.h>.
e09bf5
e09bf5
When Intel CET is enabled, we need to include <cet.h> in assembly codes
e09bf5
to mark Intel CET support even if it is empty.  We should always include
e09bf5
<config.h> in cipher assembly codes so that they will be marked for
e09bf5
Intel CET support when compiling for x86-64 and i686.
e09bf5
e09bf5
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
e09bf5
---
e09bf5
 cipher/poly1305-s390x.S | 2 +-
e09bf5
 1 file changed, 1 insertion(+), 1 deletion(-)
e09bf5
e09bf5
diff --git a/cipher/poly1305-s390x.S b/cipher/poly1305-s390x.S
e09bf5
index 844245f6..28bed560 100644
e09bf5
--- a/cipher/poly1305-s390x.S
e09bf5
+++ b/cipher/poly1305-s390x.S
e09bf5
@@ -18,8 +18,8 @@
e09bf5
  * License along with this program; if not, see <http://www.gnu.org/licenses/>.
e09bf5
  */
e09bf5
 
e09bf5
-#if defined (__s390x__) && __GNUC__ >= 4 && __ARCH__ >= 9
e09bf5
 #include <config.h>
e09bf5
+#if defined (__s390x__) && __GNUC__ >= 4 && __ARCH__ >= 9
e09bf5
 #if defined(HAVE_GCC_INLINE_ASM_S390X)
e09bf5
 
e09bf5
 #include "asm-poly1305-s390x.h"
e09bf5
-- 
e09bf5
GitLab
e09bf5