From patchwork Fri Oct 6 15:02:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 822483 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-85510-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="IKfTXkOs"; 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 3y7tDZ3tpNz9t34 for ; Sat, 7 Oct 2017 02:03:10 +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:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=Hn4lmAfm5PBoyVBdMkXdiGScsHh9a 8kPQYMMbbaUBNMHhWhYgOZGTSU+fsxqOq9Ge6qXypPZYXWSRJWW0Tm4QNuW71Rfh btvZ1dgYpjpSKTPTh4rBY0Jt+Gs+96wCmobl0JaVg1CzjFb+syLndfIme9F6bGSc Muq20SQYkniPSk= 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=y7vIeg3K4CilrOn1WnWSvC+PFGE=; b=IKf TXkOs4w8Jm22YNRF0Qp66NtZPjZ1y/kQvizYQBDTHwcLaROgUwrhDlj0rfzuHrA6 ilP0oGL6QxAojrgJpzmMaX+JUz4suSrrh1S4G8h4g7pn/2TZAYN91++DnmEsm9V0 MGJ0zsIWDNweL+gBcwQElJRrPWNsUlmeDSWaUVFM= Received: (qmail 75785 invoked by alias); 6 Oct 2017 15:03: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 75335 invoked by uid 89); 6 Oct 2017 15:03:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Date: Fri, 6 Oct 2017 15:02:55 +0000 From: Joseph Myers To: Subject: Remove redundant ldbl-64-128 files [committed] Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) Various source files in ldbl-64-128 are redundant, because they wrap files that no longer provide public symbols that need special versioning (those symbols having moved to separate errno-setting wrappers), or, in the case of w_scalblnl.c, because the type-generic template now does everything required (it deals with symbol versioning for use in libm, and this file is never built for libc anyway - the compat scalbln* symbols in libc, as opposed to scalbn*, are only for i386 and m68k and are aliases to the corresponding scalbn* symbols). This patch removes those redundant files. Tested with build-many-glibcs.py (for all ldbl-64-128 configurations) that installed stripped shared libraries are unchanged by this patch. Committed. 2017-10-06 Joseph Myers * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file. * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise. * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise. * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise. * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise. diff --git a/sysdeps/ieee754/ldbl-64-128/e_ilogbl.c b/sysdeps/ieee754/ldbl-64-128/e_ilogbl.c deleted file mode 100644 index 75a38e1..0000000 --- a/sysdeps/ieee754/ldbl-64-128/e_ilogbl.c +++ /dev/null @@ -1,2 +0,0 @@ -#include -#include diff --git a/sysdeps/ieee754/ldbl-64-128/s_log1pl.c b/sysdeps/ieee754/ldbl-64-128/s_log1pl.c deleted file mode 100644 index 11d56bf..0000000 --- a/sysdeps/ieee754/ldbl-64-128/s_log1pl.c +++ /dev/null @@ -1,2 +0,0 @@ -#include -#include diff --git a/sysdeps/ieee754/ldbl-64-128/s_scalblnl.c b/sysdeps/ieee754/ldbl-64-128/s_scalblnl.c deleted file mode 100644 index 97181d2..0000000 --- a/sysdeps/ieee754/ldbl-64-128/s_scalblnl.c +++ /dev/null @@ -1,4 +0,0 @@ -#include -#undef weak_alias -#define weak_alias(n,a) -#include diff --git a/sysdeps/ieee754/ldbl-64-128/s_scalbnl.c b/sysdeps/ieee754/ldbl-64-128/s_scalbnl.c deleted file mode 100644 index 15af1b2..0000000 --- a/sysdeps/ieee754/ldbl-64-128/s_scalbnl.c +++ /dev/null @@ -1,4 +0,0 @@ -#include -#undef weak_alias -#define weak_alias(n,a) -#include diff --git a/sysdeps/ieee754/ldbl-64-128/w_scalblnl.c b/sysdeps/ieee754/ldbl-64-128/w_scalblnl.c deleted file mode 100644 index fef2507..0000000 --- a/sysdeps/ieee754/ldbl-64-128/w_scalblnl.c +++ /dev/null @@ -1,26 +0,0 @@ -/* Wrapper for __scalblnl handles setting errno. - Copyright (C) 2014-2017 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -#define declare_mgen_alias(from, to) -#include -#include -#if IS_IN (libm) -long_double_symbol (libm, __w_scalblnl, scalblnl); -#else -long_double_symbol (libc, __w_scalblnl, scalblnl); -#endif