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.
This commit is contained in:
H.J. Lu 2018-07-17 16:08:35 -07:00
parent 562837c002
commit 5efc6777ad
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
_CET_ENDBR.
2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add

View File

@ -126,6 +126,7 @@ END (GLABEL(__strncasecmp))
STRCMP_SSE42:
cfi_startproc
_CET_ENDBR
CALL_MCOUNT
/*