Message ID | 20180508204021.31845-16-hjl.tools@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-return-92276-incoming=patchwork.ozlabs.org@sourceware.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-92276-incoming=patchwork.ozlabs.org@sourceware.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (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="Ze6H/BDz"; 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 40gWbd69Zxz9s37 for <incoming@patchwork.ozlabs.org>; Wed, 9 May 2018 06:41:01 +1000 (AEST) 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:cc:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=GU+V/IvSX64ANm1HQ6AmzMniecdqOXs 6+lHTyjaFqG/qfNjBhfN/0zLMBirSXO51y+QIZL0ChVFKG9KAGQPSgNvP8YuWxLP JNsxk6nQJRKJr2zymRC4qoBfnUG9fXUzbhI/zF2l/NKsXcuboPVIqpOpdLNQGmrW hUZSeTYYCB/o= 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:cc:subject:date:message-id:in-reply-to :references; s=default; bh=mlX+ETA4g70guzwaZ3QoPQoy034=; b=Ze6H/ BDz+IMZi+Yyf2XwrPxsUMTMAHPgOh5fgQ6bntIn4XxtxdwgY7rvV5B2xBLHd3GTe lYIMEVwxnEX+Gn6I29MMt2N+nwmN3w8sGDAfhJTxh7soArn0eXUf0yahgJqQtdwD vaG2bgtscaCA29RuSOGi0wo07pXeNRLj40Y/Qw= Received: (qmail 75852 invoked by alias); 8 May 2018 20:40:28 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <libc-alpha.sourceware.org> List-Unsubscribe: <mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org> List-Subscribe: <mailto:libc-alpha-subscribe@sourceware.org> List-Archive: <http://sourceware.org/ml/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-help@sourceware.org>, <http://sourceware.org/ml/#faqs> Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 75646 invoked by uid 89); 8 May 2018 20:40:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-23.4 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_SOFTFAIL, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.3.2 spammy= X-HELO: mga06.intel.com X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 From: "H.J. Lu" <hjl.tools@gmail.com> To: libc-alpha@sourceware.org Cc: Carlos O'Donell <carlos@redhat.com> Subject: [PATCH 15/23] i386: Use _CET_NOTRACK in i686/memcmp.S Date: Tue, 8 May 2018 13:40:13 -0700 Message-Id: <20180508204021.31845-16-hjl.tools@gmail.com> In-Reply-To: <20180508204021.31845-1-hjl.tools@gmail.com> References: <20180508204021.31845-1-hjl.tools@gmail.com> |
Series |
CET: Prepare for CET enabling
|
expand
|
diff --git a/sysdeps/i386/i686/memcmp.S b/sysdeps/i386/i686/memcmp.S index a0bc9ec97c..3259076cd7 100644 --- a/sysdeps/i386/i686/memcmp.S +++ b/sysdeps/i386/i686/memcmp.S @@ -80,7 +80,7 @@ L(not_1): LOAD_JUMP_TABLE_ENTRY (L(table_32bytes), %ecx) addl %ecx, %edx addl %ecx, %esi - jmp *%ebx + _CET_NOTRACK jmp *%ebx ALIGN (4) L(28bytes): @@ -326,7 +326,7 @@ L(32bytesormore): LOAD_JUMP_TABLE_ENTRY (L(table_32bytes), %ecx) addl %ecx, %edx addl %ecx, %esi - jmp *%ebx + _CET_NOTRACK jmp *%ebx L(load_ecx_28): addl $0x4, %edx