From patchwork Tue Mar 14 19:45:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 95310 Delivered-To: patch@linaro.org Received: by 10.140.89.134 with SMTP id v6csp4531qgd; Tue, 14 Mar 2017 12:45:59 -0700 (PDT) X-Received: by 10.84.208.227 with SMTP id c32mr57187167plj.71.1489520759726; Tue, 14 Mar 2017 12:45:59 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id p26si15627479pfi.66.2017.03.14.12.45.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Mar 2017 12:45:59 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-77888-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; spf=pass (google.com: domain of libc-alpha-return-77888-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-77888-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=HNrlEaQFguQSDzd7o56nYgdD1d6h+XG3KI6x/D0RBxzAqfEcB3GEv ClotewCu1vfHlDS5x6g3wb0aI0ylItq7L5h1yxBSVLKwBFCEb41XE/x0koSz9QzI EZnhNCgNgVgdONlcR0XEcCQSZ7vDLuM69Q7m0StYOtnJ/QiKkqtz2M= 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=2rteqh47kVq7QoKaqUMyvrVgRac=; b=PJWfqbqIuEaqSkJftRp0JiC52uc0 OnzxZggcibkUjBfLRwJCSUl+ZHQyJRcWx39pRfbFv0bVe4158dE/eKX1MweSRdrf vJkhM/iZsXZg2T4UFsid2W/s7al/+AErWQCM8MAzBF6RxGFm9jlJNI49UoiOO0qM vAdWsqAekBjZBZg= Received: (qmail 15083 invoked by alias); 14 Mar 2017 19:45:48 -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 15069 invoked by uid 89); 14 Mar 2017 19:45:47 -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-f176.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=JcFBFJCBpb1Ny+/GDXPCNZuoMRHFIZ3OPpihBkyXMe0=; b=MbApSnIN4X4BAtLyHGyL7wQjrhNqq+GDCNBY1iysh38FrRWzM7OG57ixjXD0ygT3fM lND+lZgrpNXT45An2iRGMgGBmK55dTgpP6HURtKU6GvhWPQhY3b830i6TJ29s4tg+gT3 EZmPPVGBPNW2akLN3G2RXQqzV5PsdxtGW0xjb5iPmF2m+qEUPM2VTgFfTdLeOgj5iCpX RFhFojmP5Z71X6KuQdqHhEIY6Q4ievr1ddriL1xucsSXeBQ8MyemNFyEV4P5NENTM5e3 lVGaayK0NdVSRxK5nCQ1EF7DfIh+jQXKUWBNazrDges6Bf9LkrevHxMmOgO/8Paiu/2R c2YQ== X-Gm-Message-State: AMke39n7pD5SPZFa1i9jRwt+pwR/7GLMAOWlv0ZaLQP+cq5uw4IAfj40fR037KI3y9Qf/ag4 X-Received: by 10.200.2.150 with SMTP id p22mr42459102qtg.197.1489520745228; Tue, 14 Mar 2017 12:45:45 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH] Fix missing posix_fadvise64 mips64 static build (BZ #21232) Date: Tue, 14 Mar 2017 16:45:38 -0300 Message-Id: <1489520738-5937-1-git-send-email-adhemerval.zanella@linaro.org> This patch fixes the missing posix_fadvise64 symbol for static build required for _FILE_OFFSET_BITS=64 on mips64 build. Checked on a mips64-linux-gnu build with run-built-tests=no. [BZ #21232] * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add posix_fadvise64 weak_alias for static build. --- ChangeLog | 6 ++++++ sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c | 2 ++ 2 files changed, 8 insertions(+) -- 2.7.4 diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c b/sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c index 9776ee9..5a63796 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c @@ -29,5 +29,7 @@ _strong_alias (__posix_fadvise64_l64, __posix_fadvise64_l32); compat_symbol (libc, __posix_fadvise64_l32, posix_fadvise64, GLIBC_2_2); versioned_symbol (libc, __posix_fadvise64_l64, posix_fadvise64, GLIBC_2_3_3); +#else +_weak_alias (posix_fadvise, posix_fadvise64); #endif _strong_alias (__posix_fadvise64_l64, posix_fadvise);