From patchwork Sun Jul 9 12:53:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 785920 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3x57b06TDlz9s06 for ; Sun, 9 Jul 2017 22:54:20 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="VHY9qkB5"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=CwrACEQEk7qeFfGbjFLUN4rM20+Dg vsRK8demNA+E2ILkEoj1KlEjd40Ibqex5rDHSUoLK21HwEqUkgWKuenuHxWTdm+n eNJuC6qXPUhE9l5mzH8Z5lOU3Aq6dp0tgPW0FR148fH/3Qt/9jBcmmQ1gzmpipNW y67DxYe3wEoPhk= 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:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=sETuIN+XczNJSd5/4Ij3/SYcN9Q=; b=VHY 9qkB5wvZRBq1GDq3TFpmX41v2B52VkMgS8xLjFB/tGABX9qAK9UZ5Wmzga+Dzv0k d7td99axs1fY4AOBuwAaVv5Qy0jBGeKIydiHO2uBXCXi+9GewqeTSuTG+SQeVDez xPNbhVDYVyq0QyIDOYOLeYA0qpVhHJRBf2QP7yVA= Received: (qmail 125058 invoked by alias); 9 Jul 2017 12:54:05 -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 125023 invoked by uid 89); 9 Jul 2017 12:54:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.4 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-pf0-f195.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=DFFCMZD4qSsgC9e5KnTZJEJI4Jnjh118K66tCeQY6+Q=; b=q3/Y/KXzyI+ZwMLl6RfGSc+puISTe+gH64Wqw0q41M74T3ahN/Mx1OHcyeSa+hBsCg M6NRQHcEaw+Jkcx9g51suZ51GxoypW11pi/GwDafYSPtZklj/X8TxbiYNICsHgQhCB44 k2Oizf7WMvd3THPaGKOoen6ZaKqMQtZMbZhygriEyqNWrbTRsYkVJ7LMNdI/lDyB7CdX uUDFtGgL/Sd4rtO/cXh4/k+saRZVwrADl3luEn2CkLeoqp4VRQCkhSzEOJguAmIY6jym h7Fmo4vg8MN+a+OKg/W0XAtFujOt54fB0pbcZRo3X277+eCQ2AadijUHGkTfQdvhL9oN edng== X-Gm-Message-State: AIVw112FEtnkpTyIoLFS1k+6Ed/O6gt52gbDTqf1gop0Ed7Xjmzt7llK XoaFpmJ6mGo7MUIX X-Received: by 10.98.211.89 with SMTP id q86mr40130405pfg.37.1499604838825; Sun, 09 Jul 2017 05:53:58 -0700 (PDT) Date: Sun, 9 Jul 2017 05:53:56 -0700 From: "H.J. Lu" To: GNU C Library Subject: [PATCH] x86-64: Update comments in IFUNC selectors Message-ID: <20170709125356.GA25323@gmail.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.8.3 (2017-05-23) Any objections? H.J. --- * sysdeps/x86_64/multiarch/memcmp.c: Update comments. * sysdeps/x86_64/multiarch/memmove.c: Likewise. * sysdeps/x86_64/multiarch/memrchr.c: Likewise. * sysdeps/x86_64/multiarch/memset.c: Likewise. * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise. * sysdeps/x86_64/multiarch/strchrnul.c: Likewise. * sysdeps/x86_64/multiarch/strlen.c: Likewise. * sysdeps/x86_64/multiarch/strnlen.c: Likewise. * sysdeps/x86_64/multiarch/wcschr.c: Likewise. * sysdeps/x86_64/multiarch/wcscpy.c: Likewise. * sysdeps/x86_64/multiarch/wcslen.c: Likewise. * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise. * sysdeps/x86_64/multiarch/wmemchr.c: Likewise. * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise. * sysdeps/x86_64/multiarch/wmemset.c: Likewise. * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise. --- sysdeps/x86_64/multiarch/memcmp.c | 3 +-- sysdeps/x86_64/multiarch/memmove.c | 3 +-- sysdeps/x86_64/multiarch/memrchr.c | 2 +- sysdeps/x86_64/multiarch/memset.c | 4 +--- sysdeps/x86_64/multiarch/rawmemchr.c | 2 +- sysdeps/x86_64/multiarch/strchrnul.c | 2 +- sysdeps/x86_64/multiarch/strlen.c | 2 +- sysdeps/x86_64/multiarch/strnlen.c | 2 +- sysdeps/x86_64/multiarch/wcschr.c | 2 +- sysdeps/x86_64/multiarch/wcscpy.c | 2 +- sysdeps/x86_64/multiarch/wcslen.c | 2 +- sysdeps/x86_64/multiarch/wcsnlen.c | 2 +- sysdeps/x86_64/multiarch/wmemchr.c | 2 +- sysdeps/x86_64/multiarch/wmemcmp.c | 3 +-- sysdeps/x86_64/multiarch/wmemset.c | 2 +- sysdeps/x86_64/multiarch/wmemset_chk.c | 2 +- 16 files changed, 16 insertions(+), 21 deletions(-) diff --git a/sysdeps/x86_64/multiarch/memcmp.c b/sysdeps/x86_64/multiarch/memcmp.c index b3e4ac3..87f7593 100644 --- a/sysdeps/x86_64/multiarch/memcmp.c +++ b/sysdeps/x86_64/multiarch/memcmp.c @@ -17,8 +17,7 @@ License along with the GNU C Library; if not, see . */ -/* Define multiple versions only for the definition in lib and for - DSO. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define memcmp __redirect_memcmp # include diff --git a/sysdeps/x86_64/multiarch/memmove.c b/sysdeps/x86_64/multiarch/memmove.c index c615808..0b01b16 100644 --- a/sysdeps/x86_64/multiarch/memmove.c +++ b/sysdeps/x86_64/multiarch/memmove.c @@ -17,8 +17,7 @@ License along with the GNU C Library; if not, see . */ -/* Define multiple versions only for the definition in lib and for - DSO. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define memmove __redirect_memmove # include diff --git a/sysdeps/x86_64/multiarch/memrchr.c b/sysdeps/x86_64/multiarch/memrchr.c index 003d403..270406a 100644 --- a/sysdeps/x86_64/multiarch/memrchr.c +++ b/sysdeps/x86_64/multiarch/memrchr.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see . */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define memrchr __redirect_memrchr # include diff --git a/sysdeps/x86_64/multiarch/memset.c b/sysdeps/x86_64/multiarch/memset.c index e3f5eaa..50181ac 100644 --- a/sysdeps/x86_64/multiarch/memset.c +++ b/sysdeps/x86_64/multiarch/memset.c @@ -17,9 +17,7 @@ License along with the GNU C Library; if not, see . */ -/* Define multiple versions only for the definition in lib and for - DSO. In static binaries we need memset before the initialization - happened. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define memset __redirect_memset # include diff --git a/sysdeps/x86_64/multiarch/rawmemchr.c b/sysdeps/x86_64/multiarch/rawmemchr.c index c97cfa2..78db3ff 100644 --- a/sysdeps/x86_64/multiarch/rawmemchr.c +++ b/sysdeps/x86_64/multiarch/rawmemchr.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see . */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define rawmemchr __redirect_rawmemchr # define __rawmemchr __redirect___rawmemchr diff --git a/sysdeps/x86_64/multiarch/strchrnul.c b/sysdeps/x86_64/multiarch/strchrnul.c index 4a4c55a..bc9bf9c 100644 --- a/sysdeps/x86_64/multiarch/strchrnul.c +++ b/sysdeps/x86_64/multiarch/strchrnul.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see . */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define strchrnul __redirect_strchrnul # define __strchrnul __redirect___strchrnul diff --git a/sysdeps/x86_64/multiarch/strlen.c b/sysdeps/x86_64/multiarch/strlen.c index 7e008a0..a9ec686 100644 --- a/sysdeps/x86_64/multiarch/strlen.c +++ b/sysdeps/x86_64/multiarch/strlen.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see . */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define strlen __redirect_strlen # include diff --git a/sysdeps/x86_64/multiarch/strnlen.c b/sysdeps/x86_64/multiarch/strnlen.c index ff450bd..0c1e21e 100644 --- a/sysdeps/x86_64/multiarch/strnlen.c +++ b/sysdeps/x86_64/multiarch/strnlen.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see . */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define strnlen __redirect_strnlen # define __strnlen __redirect___strnlen diff --git a/sysdeps/x86_64/multiarch/wcschr.c b/sysdeps/x86_64/multiarch/wcschr.c index 70d3692..0294b27 100644 --- a/sysdeps/x86_64/multiarch/wcschr.c +++ b/sysdeps/x86_64/multiarch/wcschr.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see . */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define wcschr __redirect_wcschr # define __wcschr __redirect___wcschr diff --git a/sysdeps/x86_64/multiarch/wcscpy.c b/sysdeps/x86_64/multiarch/wcscpy.c index 01dee80..6dffedb 100644 --- a/sysdeps/x86_64/multiarch/wcscpy.c +++ b/sysdeps/x86_64/multiarch/wcscpy.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see . */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define wcscpy __redirect_wcscpy # include diff --git a/sysdeps/x86_64/multiarch/wcslen.c b/sysdeps/x86_64/multiarch/wcslen.c index 9ff065c..0bb48f8 100644 --- a/sysdeps/x86_64/multiarch/wcslen.c +++ b/sysdeps/x86_64/multiarch/wcslen.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see . */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define __wcslen __redirect_wcslen # include diff --git a/sysdeps/x86_64/multiarch/wcsnlen.c b/sysdeps/x86_64/multiarch/wcsnlen.c index 1e3f3c5..8cdaee1 100644 --- a/sysdeps/x86_64/multiarch/wcsnlen.c +++ b/sysdeps/x86_64/multiarch/wcsnlen.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see . */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define __wcsnlen __redirect_wcsnlen # include diff --git a/sysdeps/x86_64/multiarch/wmemchr.c b/sysdeps/x86_64/multiarch/wmemchr.c index bde0ec4..9065b65 100644 --- a/sysdeps/x86_64/multiarch/wmemchr.c +++ b/sysdeps/x86_64/multiarch/wmemchr.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see . */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define wmemchr __redirect_wmemchr # define __wmemchr __redirect___wmemchr diff --git a/sysdeps/x86_64/multiarch/wmemcmp.c b/sysdeps/x86_64/multiarch/wmemcmp.c index bbf6c83..b1ba36a 100644 --- a/sysdeps/x86_64/multiarch/wmemcmp.c +++ b/sysdeps/x86_64/multiarch/wmemcmp.c @@ -17,8 +17,7 @@ License along with the GNU C Library; if not, see . */ -/* Define multiple versions only for the definition in lib and for - DSO. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define wmemcmp __redirect_wmemcmp # include diff --git a/sysdeps/x86_64/multiarch/wmemset.c b/sysdeps/x86_64/multiarch/wmemset.c index b5bc2f9..6231307 100644 --- a/sysdeps/x86_64/multiarch/wmemset.c +++ b/sysdeps/x86_64/multiarch/wmemset.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see . */ -/* Define multiple versions only for the definition in libc. */ +/* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) # define wmemset __redirect_wmemset # define __wmemset __redirect___wmemset diff --git a/sysdeps/x86_64/multiarch/wmemset_chk.c b/sysdeps/x86_64/multiarch/wmemset_chk.c index d3ded55..ec6f02a 100644 --- a/sysdeps/x86_64/multiarch/wmemset_chk.c +++ b/sysdeps/x86_64/multiarch/wmemset_chk.c @@ -17,7 +17,7 @@ License along with the GNU C Library; if not, see . */ -/* Define multiple versions only for the definition in libc.so. */ +/* Define multiple versions only for the definition in libc.so. */ #if IS_IN (libc) && defined SHARED # define __wmemset_chk __redirect_wmemset_chk # include