From patchwork Tue Dec 10 20:47:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 1207276 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-107925-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="nNdUpxCA"; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="K0ALJrdm"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47XXDq38Kfz9sPK for ; Wed, 11 Dec 2019 07:47:23 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; q=dns; s= default; b=TjlV84JX+JLcsMOmVjsINmuFjfM9mrc5ulNfZiCqxvbM3AR3p/iP5 xOa++A4X3PVTidexbP2WAwOPGtdRphYHSIzG+6kjgjIO35tEI2YIYfWzZryhREo7 mHXsutvvueLAWIa+wG6Tob7lfTEAHlcrDr6ikulUDZsosgziIh+KTY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; s=default; bh=dm+Yo+97q/N12aXkcStvT/5h6Q8=; b=nNdUpxCANI7xCDFssaoZxpXuECrC Os+KacaKAUA++1Kfklnw3jrfmqdjLER1Tsldzt6Z/hVueKq3TqWoc9FJzN6qQ9GI 6DWP9+hII/y+ar7hXnoalZUTpPalLqO2pYQwtO/aZlIljX9dgBSqwDp3sF2tmgf5 pnVJvYLGvR/2fxg= Received: (qmail 122670 invoked by alias); 10 Dec 2019 20:47:16 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 122661 invoked by uid 89); 10 Dec 2019 20:47:16 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:536, HContent-Transfer-Encoding:8bit X-HELO: mail-pj1-f46.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=BDqY3aIzn0JRpwaCWU7CK0J+zZ2kxQ1lI+/Ud7lTXuE=; b=K0ALJrdmwbLmC7QQ1QP0giVwPz7+9zTkivXeEBFszDH8vY3GzEaepnwX/+YJOLVjew Y8nrveyb/a0bhjEuOQRKll1CVXyFA6DIQ/bXP8z+1s2i4w/lNlCPyiRJEZIfb5HGKbiR at7h25tqG9ZQjL9zb+9LvIGlIHqbIgr9G3OVsHYvpOamwlGpdvnoDNtbJgZ4F1Kth6NH NLqeqRmtFnJ9OqC/g97bGlIPIpckIDBkphWOsFrWOCZOTQ5PCfF163Esxbl65+xQFI9m ddNAyHcTqER0F4NZC+O1bBIpCbsF8NeRsZu5MBgGFE+zjdBvGMOv492a9tB2gMndyRTF BvtA== From: "H.J. Lu" To: libc-alpha@sourceware.org Subject: [PATCH 2/4] i386/sub_n.S: Add a missing _CET_ENDBR to indirect jump target Date: Tue, 10 Dec 2019 12:47:08 -0800 Message-Id: <20191210204710.4832-3-hjl.tools@gmail.com> In-Reply-To: <20191210204710.4832-1-hjl.tools@gmail.com> References: <20191210204710.4832-1-hjl.tools@gmail.com> MIME-Version: 1.0 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 1562cc00fd..1760beb38f 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)