i386/sub_n.S: Add a missing _CET_ENDBR to indirect jump target
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 1 Feb 2020 13:44:55 +0000 (05:44 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 1 Feb 2020 13:44:55 +0000 (05:44 -0800)
Add a missing _CET_ENDBR to indirect jump targe in sysdeps/i386/sub_n.S.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/i386/sub_n.S

index caac89177b3de8df3b4208667553f679bf5bcdb6..16ebd9169b9f1a78990b733fb5a9cd64a257280f 100644 (file)
@@ -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)