This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
V2 [PATCH 2/5] i386/sub_n.S: Add a missing _CET_ENDBR to indirect jump target
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: libc-alpha at sourceware dot org
- Date: Wed, 8 Jan 2020 08:15:32 -0800
- Subject: V2 [PATCH 2/5] i386/sub_n.S: Add a missing _CET_ENDBR to indirect jump target
- References: <20200108161535.6141-1-hjl.tools@gmail.com>
Add a missing _CET_ENDBR to indirect jump targe in sysdeps/i386/sub_n.S.
---
sysdeps/i386/sub_n.S | 1 +
1 file changed, 1 insertion(+)
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)
--
2.24.1