about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-07-17 16:08:35 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-07-17 16:08:47 -0700
commit5efc6777ad57c2055b618e0b8b8dc1e5bc4ab29a (patch)
tree6cec77b2b02893f95c371a11ff3a5b5f39228bbe /sysdeps/x86_64/multiarch
parent562837c002e42f7f0a95764e3883898f05a59327 (diff)
downloadglibc-5efc6777ad57c2055b618e0b8b8dc1e5bc4ab29a.tar.gz
glibc-5efc6777ad57c2055b618e0b8b8dc1e5bc4ab29a.tar.xz
glibc-5efc6777ad57c2055b618e0b8b8dc1e5bc4ab29a.zip
x86-64: Add _CET_ENDBR to STRCMP_SSE42
Add _CET_ENDBR to STRCMP_SSE42, which is called indirectly, to support
IBT.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>

	* sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
	_CET_ENDBR.
Diffstat (limited to 'sysdeps/x86_64/multiarch')
-rw-r--r--sysdeps/x86_64/multiarch/strcmp-sse42.S1
1 files changed, 1 insertions, 0 deletions
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
 
 /*