This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository legacy-imlib2.
View the commit online.
commit 699fc2b8b5ad6728dc2b863734262a1204abb932
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Tue Apr 16 08:08:04 2024 +0200
Add missing CET (Control-flow Enforcement Technology) bits in asm code
Adding .note.gnu.property section data.
https://git.enlightenment.org/old/legacy-imlib2/issues/23
---
src/lib/asm.h | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/lib/asm.h b/src/lib/asm.h
index 773cd8d..ea96d57 100644
--- a/src/lib/asm.h
+++ b/src/lib/asm.h
@@ -17,14 +17,15 @@
.size PR_(sym),.-PR_(sym); \
.align 8;
-#ifdef __CET__
-#if defined(DO_MMX_ASM)
-#define ENDBR_ endbr32
-#elif defined(DO_AMD64_ASM)
-#define ENDBR_ endbr64
-#endif
-#else
#define ENDBR_
+#ifdef __CET__
+#ifdef __has_include
+#if __has_include(<cet.h>)
+#include <cet.h>
+#undef ENDBR_
+#define ENDBR_ _CET_ENDBR
+#endif
+#endif
#endif
#endif /* __ASM_H */
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.