This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 06/24] x86-64: Add _CET_ENDBR to STRCMP_SSE42
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: libc-alpha at sourceware dot org
- Date: Wed, 13 Jun 2018 08:31:49 -0700
- Subject: [PATCH 06/24] x86-64: Add _CET_ENDBR to STRCMP_SSE42
- References: <20180613153207.57232-1-hjl.tools@gmail.com>
Add _CET_ENDBR to STRCMP_SSE42, which is called indirectly, to support
IBT.
* sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
_CET_ENDBR.
---
sysdeps/x86_64/multiarch/strcmp-sse42.S | 1 +
1 file changed, 1 insertion(+)
diff --git a/sysdeps/x86_64/multiarch/strcmp-sse42.S b/sysdeps/x86_64/multiarch/strcmp-sse42.S
index 6fa0c2c7d2..5a0c6668a7 100644
--- a/sysdeps/x86_64/multiarch/strcmp-sse42.S
+++ b/sysdeps/x86_64/multiarch/strcmp-sse42.S
@@ -126,6 +126,7 @@ END (GLABEL(__strncasecmp))
STRCMP_SSE42:
cfi_startproc
+ _CET_ENDBR
CALL_MCOUNT
/*
--
2.17.1