From patchwork Wed Oct 25 07:36:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Modra X-Patchwork-Id: 830127 Return-Path: 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-86326-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="O9luSc9u"; 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 3yMMS23Hzkz9sRW for ; Wed, 25 Oct 2017 18:37:54 +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:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; q=dns; s=default; b=HNFbA0uz WqVi3raaL4LIl9WC2HhHtLzmkzLgYFRhniFIVof8G9pQUy9kRnpmtA8Rli5dH01U 9CeCmOlZFq7DMTbJeYH0vvcDg+QsBwoRVraxCvhIErMLHmIWN7PnqPSZhfEmtrMT KhUKhTK40/NCKRYw6dzkCLJIVI3dVfPXRwA= 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:in-reply-to:references; s=default; bh=Ulxr0u58Vw33aI Qf1Dkzhirqfag=; b=O9luSc9ukg7RPNqpwMfvWaxskJwGUkf++H+r8YRMYxXo6T 4pBQfK+YkW0mCMGi7fnBTMdweSuMgZ6ZhUyUtnkY3VXFyw3ZN7/Fp1gRQzLRTBuJ w3B0wyrdMrewQ7121OA5cNlRy1Og3iccX3RSG/ugC0su3VANgdK7a7S0/vHo8= Received: (qmail 33192 invoked by alias); 25 Oct 2017 07:36:56 -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 33147 invoked by uid 89); 25 Oct 2017 07:36:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.8 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, SPF_PASS autolearn=ham version=3.3.2 spammy=wanting, Hx-languages-length:1018 X-HELO: mail-pg0-f43.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:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=BY5tVhxoEWW8uKhMK0RIOEEdpqafjsW42IjPBoRDFQs=; b=HRtDTKIDiXZm3iKAJ5+SWH1NZqCpsGIGPqBbE423Zt9ruf7lSoNb7lm33zH4fJKTIA mQw21qtH1E8wrb3+/QZ4ieLV44BNp7YUz8xQfS0dciiwRTI57Xu9lOz5UPhMuxLUDgKV M2X6FzA9gAFSKZeI3HYS1Cw6126xpzcJk4ykeOrvURb/qLeI8+Djg6sxh50/cLeUj3RN 6F0n1kn4rx1D4dysTpz7IEigUelVBXf9uU+eMyz21vVSIprgcXRLVI+lEEt0Z5X0M4C2 Wz0UvWjxeG0MZ2ycL2pNHZVH08QuOb2vLVjgHb2koOjbvj/M/7nu6mVUUmU3fCcDlcJd +zxA== X-Gm-Message-State: AMCzsaWmwffsruiSLVmUG365vKMtm2hgZluHl5KeGbaQfN2A243vk2Nf a8+w4VmBX7IUiuxTp6JFCxj6FA== X-Google-Smtp-Source: ABhQp+QKSFCZWkvUHS8iHRksHVj/qeq2flTb46Y/BmrLDDafzzdj0zXimFBqM5tWUk1bBAmhqlETNg== X-Received: by 10.99.182.5 with SMTP id j5mr1183482pgf.71.1508917012481; Wed, 25 Oct 2017 00:36:52 -0700 (PDT) From: Alan Modra To: libc-alpha@sourceware.org Cc: Alan Modra Subject: [PATCH 5/7] [PowerPC64] strncase_l-power7.c should use strncase_l.c Date: Wed, 25 Oct 2017 18:06:22 +1030 Message-Id: In-Reply-To: References: In-Reply-To: References: This is another one where we'll be wanting the base symbols for powerpc64le rather than just a power7 variant. * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include string/strncase_l.c, not string/strncase.c. (USE_IN_EXTENDED_LOCALE_MODEL): Don't define. (libc_hidden_def): Redefine. Reviewed-by: Adhemerval Zanella diff --git a/sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c b/sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c index f87ff6c..73b967d 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c +++ b/sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c @@ -18,8 +18,10 @@ #include #define __strncasecmp_l __strncasecmp_l_power7 -#define USE_IN_EXTENDED_LOCALE_MODEL 1 + +#undef libc_hidden_def +#define libc_hidden_def(name) extern __typeof (strncasecmp_l) __strncasecmp_l_power7 attribute_hidden; -#include +#include