From patchwork Wed Jul 29 00:51:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 51609 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by patches.linaro.org (Postfix) with ESMTPS id 4FAE920323 for ; Wed, 29 Jul 2015 00:51:42 +0000 (UTC) Received: by wicmm11 with SMTP id mm11sf1218713wic.3 for ; Tue, 28 Jul 2015 17:51:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mailing-list:precedence:list-id :list-unsubscribe:list-subscribe:list-archive:list-post:list-help :sender:delivered-to:message-id:date:from:user-agent:mime-version:to :cc:subject:content-type:content-transfer-encoding:x-original-sender :x-original-authentication-results; bh=+9dWAWbL4Y76FtG0b4pTIUkPh4sxky4X4eovdVwxTbo=; b=hfHfaYtxCQvFu2WVWhBz+jKO+DBM3L+/vyPDQuIrlGeyI6w4cNWTdgyRQJ93I6djRS gwI/e61/T8SMX050HSCOhS5Lo3nROhR12YyYnx69TH3WFtVEnsI2buhDCRbQAM2S0dq/ rEloSXDVLG8leIOapBGlbdbr+sGYBqw7kKKrbk6qiIwbyYIFXpkfGAsJzP1u+BnQScmL xq8tH0mFQikAoshGpHWv7TzBOmZ9xTeWk/Ufo0HAL7aBX1BNpEJPyuDe8aj/FhO9adqC IHjVI27UUsugxSpVB9hex1cyquRPl2ObKZwWVk4v5/PM5h86Iu4peb0YXBswooIjgX37 G4EA== X-Gm-Message-State: ALoCoQl83471XEtrYxvdqPDH8Qi0ZHeek/L/y1q8xdVJ15/joSS16WMt1xtUZfM5AtGLzmxtoyZ6 X-Received: by 10.180.90.106 with SMTP id bv10mr2201452wib.6.1438131101575; Tue, 28 Jul 2015 17:51:41 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.129 with SMTP id s1ls958023las.89.gmail; Tue, 28 Jul 2015 17:51:41 -0700 (PDT) X-Received: by 10.152.36.196 with SMTP id s4mr36084262laj.10.1438131101018; Tue, 28 Jul 2015 17:51:41 -0700 (PDT) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com. [2a00:1450:4010:c04::22a]) by mx.google.com with ESMTPS id o10si19947731lao.120.2015.07.28.17.51.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jul 2015 17:51:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::22a as permitted sender) client-ip=2a00:1450:4010:c04::22a; Received: by lbbyj8 with SMTP id yj8so85644026lbb.0 for ; Tue, 28 Jul 2015 17:51:40 -0700 (PDT) X-Received: by 10.112.220.7 with SMTP id ps7mr35426215lbc.72.1438131100901; Tue, 28 Jul 2015 17:51:40 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.7.198 with SMTP id l6csp2440369lba; Tue, 28 Jul 2015 17:51:39 -0700 (PDT) X-Received: by 10.66.101.104 with SMTP id ff8mr87256557pab.59.1438131099065; Tue, 28 Jul 2015 17:51:39 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id pt1si4062373pdb.149.2015.07.28.17.51.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jul 2015 17:51:39 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-61479-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 124307 invoked by alias); 29 Jul 2015 00:51:25 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list 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 124032 invoked by uid 89); 29 Jul 2015 00:51:24 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f172.google.com X-Received: by 10.170.233.10 with SMTP id z10mr39983573ykf.71.1438131080871; Tue, 28 Jul 2015 17:51:20 -0700 (PDT) Message-ID: <55B82385.6060305@linaro.org> Date: Tue, 28 Jul 2015 21:51:17 -0300 From: Adhemerval Zanella User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: GNU C Library CC: Steven Munroe , Tulio Magno Quites Machado Filho Subject: [PATCH 2/3] powerpc: Fix strnlen/power7 build X-Original-Sender: adhemerval.zanella@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::22a as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@sourceware.org X-Google-Group-Id: 836684582541 This patch fixes the strnlen.S build with --disable-multi-arch option. Checked on powerpc64le. --- * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add libc_hidden_def for strnlen and __strnlen and remove the libc_hidden_builtin_def. -- diff --git a/sysdeps/powerpc/powerpc64/power7/strnlen.S b/sysdeps/powerpc/powerpc64/power7/strnlen.S index 2de267f..b966f7b 100644 --- a/sysdeps/powerpc/powerpc64/power7/strnlen.S +++ b/sysdeps/powerpc/powerpc64/power7/strnlen.S @@ -173,5 +173,6 @@ L(loop_small): blr END (__strnlen) +libc_hidden_def (__strnlen) weak_alias (__strnlen, strnlen) -libc_hidden_builtin_def (strnlen) +libc_hidden_def (strnlen)