about summary refs log tree commit diff
path: root/sysdeps/i386/sub_n.S
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-02-01 05:44:55 -0800
committerH.J. Lu <hjl.tools@gmail.com>2020-02-01 05:44:55 -0800
commit4031d7484ab3f6327184b5973d91f46978ebe8cf (patch)
tree89688d95e56f04e55f9061dcb4747c5b8930b900 /sysdeps/i386/sub_n.S
parent15eab1e3e89129ab3ed03f5bdc3415b26e9caeb9 (diff)
downloadglibc-4031d7484ab3f6327184b5973d91f46978ebe8cf.tar.gz
glibc-4031d7484ab3f6327184b5973d91f46978ebe8cf.tar.xz
glibc-4031d7484ab3f6327184b5973d91f46978ebe8cf.zip
i386/sub_n.S: Add a missing _CET_ENDBR to indirect jump target
Add a missing _CET_ENDBR to indirect jump targe in sysdeps/i386/sub_n.S.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/i386/sub_n.S')
-rw-r--r--sysdeps/i386/sub_n.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/i386/sub_n.S b/sysdeps/i386/sub_n.S
index caac89177b..16ebd9169b 100644
--- a/sysdeps/i386/sub_n.S
+++ b/sysdeps/i386/sub_n.S
@@ -91,6 +91,7 @@ L(oop):	movl	(%esi),%eax
 	movl	8(%esi),%eax
 	sbbl	8(%edx),%eax
 	movl	%eax,8(%edi)
+	_CET_ENDBR
 	movl	12(%esi),%eax
 	sbbl	12(%edx),%eax
 	movl	%eax,12(%edi)