From patchwork Wed Sep 6 17:54:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 111835 Delivered-To: patch@linaro.org Received: by 10.140.94.166 with SMTP id g35csp1270270qge; Wed, 6 Sep 2017 10:54:58 -0700 (PDT) X-Received: by 10.99.122.22 with SMTP id v22mr8332494pgc.394.1504720498837; Wed, 06 Sep 2017 10:54:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504720498; cv=none; d=google.com; s=arc-20160816; b=unsWMhlvqoaL80I3of/VvTXpZFgzDStpz6AB4AGqotW0mOSQctn4eQByEImB913u/1 AtE3aPuhQ7OEGH5j3y/U6DVeVwgWOqpAYQmNbUFcaOUgyjKQrlocjs/eWsbtf6AKCw1j 70tFcdoFELFzNuVZpPb6DcW4JpK3/N+WvlJb7k+Er5cIRHixXiCNQ/MZ/bDKH9O+Ngx7 +pW0JpvVUHKvvCWWCpHjQF2mWwO8C2OhcgVPHykvpu3AOwBWbYZjwp5YYwf3FTkqY+7n C9V/rOa+jAK/5ZJ9+7+BZjILRVewU8GsftGfbSt/n7RlD/FLa9gMh+NxFQjppDLYrrZh 3kAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:to:from:delivered-to:sender:list-help :list-post:list-archive:list-subscribe:list-unsubscribe:list-id :precedence:mailing-list:dkim-signature:domainkey-signature :arc-authentication-results; bh=i6G8rlgDDzq3zpnTSPUclh0p98eJwIxRurDXhxvjbJs=; b=azDQG16gGTT/ILTWGjUfEJFtM1a2pQdQF++W0U0odi4os/TaQAEvwJ3VTwPpPTwjnx 1FuEYZI/OaQxbSrA7MAw1zRXBzxmL0lcW7SEZaFT6UM/eW9eFQJEX5XlQNL8lM1JQ6su sQ3qpdBRDtW9ndiLAnTaZ2zT7LP76iueudZEHPNy8+FD2DWW6MDGrdmbWMILPvfz7P4H DGbNiyGUlSCDM33NaBdDqAQ6QY3hvDSDJeCOy0Ej63fld/8/z4aFzmMeKxgBRYeGqr+V J3SFqvK7qrIRTtEyuf0XBvtBNVTNzaEiS7FytTDtbKz5VnSyynKWQLtZfYvXyW6wcZ4N 2jlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=wULRFRNm; spf=pass (google.com: domain of libc-alpha-return-84272-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-84272-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id o11si263200pgn.816.2017.09.06.10.54.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Sep 2017 10:54:58 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-84272-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=wULRFRNm; spf=pass (google.com: domain of libc-alpha-return-84272-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-84272-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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; q=dns; s= default; b=mf+3lM5x02vO6ENi9qGEaDkJQ+nl9B4Q78WfqJfuQMTexeVjR7KWi s1oxYNJqoXxPgql2aC+ogsO8N6rqpmI2+F3nImY6hudo6TkgKV7ijp26Or1yI1P1 Y4qv9v9gVVElQX++fp7rteFbS9tvA6JoM6svqeZKdGGVTX5btNnux8= 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; s=default; bh=2Y6Gkkh3/6JDRKz3YGrfRmyf2DQ=; b=wULRFRNmuExn9DtPyRHgsf9ZaI/K nU2iNVmj3LZb5DBN3jKynqCMzJoDDgJOvDztyGXjnLC3gZ1ReOVKl1kJdlqI7RhZ fQBFTZt1+BcHxOG+L7Z9VkG6N7Kheqr3tBVb7+mPceQrrwIHPv2/u08nxEay987q aDc8jiAziszHC9g= Received: (qmail 61000 invoked by alias); 6 Sep 2017 17:54:49 -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 60783 invoked by uid 89); 6 Sep 2017 17:54:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.4 required=5.0 tests=BAYES_00, 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-qt0-f171.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=i6G8rlgDDzq3zpnTSPUclh0p98eJwIxRurDXhxvjbJs=; b=Kp2gJd2ALYNErsIrnttmjHo0rgAaIzsibq2Y8iyR8MjvSSs3f91N4agWSxrZATr1FZ 0PFvNv+3Kev+CZpTDf3NVwmqAvOoX3XQH8fmu+UbZBndqYtiUIcles+vIdHPesctmi0C LZ4uORpHcdRfaKrgeKwLub29sV1dx+jWcscRyd8tx2ioAHr4dOerINZYiJ2KTnkW0FiX NWDzbA2xSmVsSjf/kvoeKiJVmGL7E6pXX1mO6sPhEpKkrungoqInbLamyOIikVw/FOmo s6gQRuqyp7WpPxtNG5nuvt+CbWLtJQdeFHW/FmCh88N6hCBMP/9/26Fb4Ce0WE92kP01 tfCQ== X-Gm-Message-State: AHPjjUijGPcV4Vna+wq7EiSEzmxGQa/QEX5mRFbrtO1C1ifK4R+8rUJQ gXk6/vcnD574UG0Ppq6j2g== X-Google-Smtp-Source: ADKCNb4kDUQ75+S+awBK9hc2NEBjdGiXdQylwAO0m9s1nvrUOeiJe0vroU6T4SQjF7kVr0B4PYV2ag== X-Received: by 10.200.53.216 with SMTP id l24mr4745860qtb.7.1504720485319; Wed, 06 Sep 2017 10:54:45 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [COMMITTED] Remove remaining _HAVE_STRING_ARCH_* definitions (BZ #18858) Date: Wed, 6 Sep 2017 14:54:32 -0300 Message-Id: <1504720472-15009-1-git-send-email-adhemerval.zanella@linaro.org> Since the removal of bits/string.h, _HAVE_STRING_ARCH_* are no longer used. This patch removes the unused macros from i686 and x86_64 sysdeps folder. Checked on x86_64-linux-gnu and i686-linux-gnu. [BZ #18858] * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy): Remove define. * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy): Likewise. * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn): Likewise. * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat): Likewise. * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy): Likewise. * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk): Likewise. * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn): Likewise. --- ChangeLog | 18 ++++++++++++++++++ sysdeps/i386/i686/multiarch/strncpy.c | 1 - sysdeps/x86_64/multiarch/stpcpy.c | 1 - sysdeps/x86_64/multiarch/strcspn.c | 1 - sysdeps/x86_64/multiarch/strncat.c | 1 - sysdeps/x86_64/multiarch/strncpy.c | 1 - sysdeps/x86_64/multiarch/strpbrk.c | 1 - sysdeps/x86_64/multiarch/strspn.c | 1 - 8 files changed, 18 insertions(+), 7 deletions(-) -- 2.7.4 diff --git a/sysdeps/i386/i686/multiarch/strncpy.c b/sysdeps/i386/i686/multiarch/strncpy.c index 24404f6..df1e625 100644 --- a/sysdeps/i386/i686/multiarch/strncpy.c +++ b/sysdeps/i386/i686/multiarch/strncpy.c @@ -19,7 +19,6 @@ /* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) -# define _HAVE_STRING_ARCH_strncpy 1 # define strncpy __redirect_strncpy # include # undef strncpy diff --git a/sysdeps/x86_64/multiarch/stpcpy.c b/sysdeps/x86_64/multiarch/stpcpy.c index b66237e..122cf90 100644 --- a/sysdeps/x86_64/multiarch/stpcpy.c +++ b/sysdeps/x86_64/multiarch/stpcpy.c @@ -19,7 +19,6 @@ /* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) -# define _HAVE_STRING_ARCH_stpcpy 1 # define stpcpy __redirect_stpcpy # define __stpcpy __redirect___stpcpy # define NO_MEMPCPY_STPCPY_REDIRECT diff --git a/sysdeps/x86_64/multiarch/strcspn.c b/sysdeps/x86_64/multiarch/strcspn.c index 011f69a..6f4704f 100644 --- a/sysdeps/x86_64/multiarch/strcspn.c +++ b/sysdeps/x86_64/multiarch/strcspn.c @@ -19,7 +19,6 @@ /* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) -# define _HAVE_STRING_ARCH_strcspn 1 # define strcspn __redirect_strcspn # include # undef strcspn diff --git a/sysdeps/x86_64/multiarch/strncat.c b/sysdeps/x86_64/multiarch/strncat.c index d359e16..6a41653 100644 --- a/sysdeps/x86_64/multiarch/strncat.c +++ b/sysdeps/x86_64/multiarch/strncat.c @@ -19,7 +19,6 @@ /* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) -# define _HAVE_STRING_ARCH_strncat 1 # define strncat __redirect_strncat # include # undef strncat diff --git a/sysdeps/x86_64/multiarch/strncpy.c b/sysdeps/x86_64/multiarch/strncpy.c index 7b71cb9..361fd5a 100644 --- a/sysdeps/x86_64/multiarch/strncpy.c +++ b/sysdeps/x86_64/multiarch/strncpy.c @@ -19,7 +19,6 @@ /* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) -# define _HAVE_STRING_ARCH_strncpy 1 # define strncpy __redirect_strncpy # include # undef strncpy diff --git a/sysdeps/x86_64/multiarch/strpbrk.c b/sysdeps/x86_64/multiarch/strpbrk.c index 65453df..b69cd73 100644 --- a/sysdeps/x86_64/multiarch/strpbrk.c +++ b/sysdeps/x86_64/multiarch/strpbrk.c @@ -19,7 +19,6 @@ /* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) -# define _HAVE_STRING_ARCH_strpbrk 1 # define strpbrk __redirect_strpbrk # include # undef strpbrk diff --git a/sysdeps/x86_64/multiarch/strspn.c b/sysdeps/x86_64/multiarch/strspn.c index 942e07a..6065b39 100644 --- a/sysdeps/x86_64/multiarch/strspn.c +++ b/sysdeps/x86_64/multiarch/strspn.c @@ -19,7 +19,6 @@ /* Define multiple versions only for the definition in libc. */ #if IS_IN (libc) -# define _HAVE_STRING_ARCH_strspn 1 # define strspn __redirect_strspn # include # undef strspn