Message ID | 20240327164527.3717523-9-adhemerval.zanella@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:b0:33e:7753:30bd with SMTP id p1csp2300389wrt; Wed, 27 Mar 2024 09:47:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWInI8krJMbJNw+WXOAfsCpAb622Orrhc22+hnk48p3UOme1uEEuD62MvQZGR3a2wEKXMgI9hE+73KV9dW+63QL X-Google-Smtp-Source: AGHT+IFT7fgII3GEjTKQuB3G9Etv6mps9om+fqCmdNoazzm8VEoEbkJ3kjmSqAZMhfopBF/A4tGQ X-Received: by 2002:a05:620a:44c4:b0:789:eeb7:2273 with SMTP id y4-20020a05620a44c400b00789eeb72273mr96312qkp.49.1711558060858; Wed, 27 Mar 2024 09:47:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711558060; cv=pass; d=google.com; s=arc-20160816; b=BX4TIDdg1tTuX8Ktj4VB7P0Q3YZuJ9MjNH2/+QhTk2TGBhnm/fjdTti5jdCtuAqDXN z1fpQqeMTLH6Q+EjjrRtSFBPeRu4SQE2VvCGbVhjmpJz3duenApugouEMWbc1Uj3AgGu mkr8bKxgUo9tEfC/uDb9aoW2rkfgwhiGJRWQFGuxxQpDMsi8koCzfdLrmJ06LMOVP5M9 h/WVo8KgOSjaSko2EkESaSRQNYOfpjFFSZuKLRr9VdtcQWwiVAdOshd54soe8Bwa4AJa 0MGd8uqk0r4FW8WcOhc56akFYdGQl3OnHizSi3ey8ArtCGmz7GSKGSPKrIpBCsQSy8IE Q2vQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=mgzBHY8eIbS5Bsjmn6NMaIRe85fsSw17SEUeNUUQPqk=; fh=WtLnUd2EuDKv+EP3BSdEI8hdivapDDAq3MY9+WgWrlk=; b=Fe/25dGLIYPntRMdU75PT3HOiqRFtb0qJC18cIks0VyfwLp6c9K7KDpSpSTHsAk8at BXhRsIzEPofZOlh7Hnot6mWv4EBNSDnxQ8QNslJ9owVOTmkCOwWftfTeA3ADr6FWtHs2 rI0xZeLH+0PEZMFG7BVW+mw5/3TtVyCm/+EuBede43N3yv2PFvibzdPuMUzW7VB8NiTL Kx2cyCbl7PSrUJaltKYk4tzEOac8n3a++sOG837eAdzsX/Oi0VjoLd9NewpwjT0GrTg7 15IBq++BWNye+IjG1Gv+t6rWrNonNs3C/WD0sLQ5h/8Bph2ef7mLMfpAPjryBOzRSIEO MFaQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sR1dmmOY; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <libc-alpha-bounces+patch=linaro.org@sourceware.org> Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id m16-20020ae9f210000000b00789f10fc736si3529157qkg.135.2024.03.27.09.47.40 for <patch@linaro.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 09:47:40 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sR1dmmOY; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7CCD9385E82A for <patch@linaro.org>; Wed, 27 Mar 2024 16:47:40 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by sourceware.org (Postfix) with ESMTPS id 3CEDD385843A for <libc-alpha@sourceware.org>; Wed, 27 Mar 2024 16:45:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3CEDD385843A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3CEDD385843A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::630 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711557952; cv=none; b=Am88TWYAlKNPffe/MzKN4IvAMlmsFDSXdmLD+efRtxp20tnOyr+RNZ120uqgrzFH7zfih0X23qC5zx/GaHn4+ZWxMnBq4Xv1oIoBlH66LhHESXwtcaBHIuuYJcf6bpoKScBUd/pq0KMGg4rYPdif3m5ij9EWHKjKoCkN9nkhev0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711557952; c=relaxed/simple; bh=wX45uKGaEumacqHgV0XE5fPzRX3klc784/S2m/Ik2O4=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=ngb4UivSSWpJUso6wD7PBexEX99zoe6ej5j9+wzP0vZsBoUthrskKFTI66L6gCl2jX3go80B2UAHClW1myeZWwgl4VymMqM9MUxbUGZ/BuazmS8RmDNRaJfVijwXb0flcUH8y9YtUzrGyCgQz0nSPh4BFk2AmFXRsflGJuVYGHY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1dee5ef2a7bso289675ad.1 for <libc-alpha@sourceware.org>; Wed, 27 Mar 2024 09:45:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711557949; x=1712162749; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mgzBHY8eIbS5Bsjmn6NMaIRe85fsSw17SEUeNUUQPqk=; b=sR1dmmOY+X6pPd8qbdV6/ebgq/Np+4WQZWKsQORt7JrgC1CQC2iGGiG14Dd6hXDHjc WhZLXa7zx/rZ0sZ/OC7osljVRFSYkeDO9P8W0ZlcApMnBsSOvdeD4327N949C58uByrl w+AdO2DXASiWY7xZxdxtJpsvEbeLdVCT1KVAyDeRMZtqXS9shT/WoF6P8QQe7Rwmful6 QuLlFadfOflupOZXAgCBfvTciNC0ZDWS3GLvtCmmdYdJMnZ18/atgCZ57xiRZhnEio7k Vpm6aA8KsOInEFatvO3sfZO+uN+Ds9eYkLC3JRvd5bqwikYnW6Y9gCvF2Hj9TrEbk+Wz IR1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711557949; x=1712162749; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mgzBHY8eIbS5Bsjmn6NMaIRe85fsSw17SEUeNUUQPqk=; b=wqkR6qr/Wf3H5mxQVd1B2lZsTee7vLmN2ixAfvjqtPS6luo1b1+2r9KvyijmM45imj upKdJTZQM5BtROq05C8Essf+tEf9c3ez8K8DKCpcQzObgq/e4K1fiUwJu5y0TcOnYovO 44fjmhiq1mNQ7jziQd8V8X9mCZjY3VWhj+SkeEXsGSwtWnzbbMcabFDMKRKQeploonra bzdkIJqIqFUEYm3v3QEDjtc21U9LHUA45aUN42jENRcn3vhQmuCUyUNV4A3tsj3tRkmB 2xPOw2mGVNaf4u/YYwlXSHaKrqgoWSvXqX5kYjg2CKRSHvVoKprXs5omrviO+Z9tzE1t SZwA== X-Gm-Message-State: AOJu0YxcplUSkRykyuaI4k6dTMO09QRY+cZ3Fxmty767tJmE+MwiBW64 3wkvTUyhJCkpZHxJdN7A1aS99V7iNm6osTOOazwp8S1BTfd6vRmSNRfEu8njBQJ+G9kF2qQLjbL U X-Received: by 2002:a17:902:f709:b0:1dd:779d:dd4a with SMTP id h9-20020a170902f70900b001dd779ddd4amr231199plo.63.1711557949621; Wed, 27 Mar 2024 09:45:49 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c3:b18e:67c4:6248:3d8a:f386]) by smtp.gmail.com with ESMTPSA id c4-20020a170903234400b001e20578b524sm858593plh.252.2024.03.27.09.45.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 09:45:49 -0700 (PDT) From: Adhemerval Zanella <adhemerval.zanella@linaro.org> To: libc-alpha@sourceware.org Cc: Joseph Myers <josmyers@redhat.com>, Florian Weimer <fweimer@redhat.com>, "H . J . Lu" <hjl.tools@gmail.com> Subject: [PATCH 08/15] math: Provided copysignf128 for static libm on alpha, s390, and sparcv9 Date: Wed, 27 Mar 2024 13:45:20 -0300 Message-Id: <20240327164527.3717523-9-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240327164527.3717523-1-adhemerval.zanella@linaro.org> References: <20240327164527.3717523-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> Errors-To: libc-alpha-bounces+patch=linaro.org@sourceware.org |
Series |
Fix some libm static issues
|
expand
|
diff --git a/math/Makefile b/math/Makefile index 516fa72a26..61736159d1 100644 --- a/math/Makefile +++ b/math/Makefile @@ -371,6 +371,7 @@ libm-test-funcs-auto-static = \ exp10 \ # libm-test-funcs-auto-static libm-test-funcs-noauto-static = \ + copysign \ fmod \ isnan \ # libm-test-funcs-noauto-static diff --git a/sysdeps/ieee754/ldbl-64-128/s_copysignl.c b/sysdeps/ieee754/ldbl-64-128/s_copysignl.c index 11b42d04ba..80137847d3 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_copysignl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_copysignl.c @@ -1,10 +1,10 @@ #include <math_ldbl_opt.h> #include <libm-alias-ldouble.h> -#if IS_IN (libc) +#if IS_IN (libc) && defined SHARED # undef libm_alias_ldouble # define libm_alias_ldouble(from, to) #endif #include <sysdeps/ieee754/ldbl-128/s_copysignl.c> -#if IS_IN (libc) +#if IS_IN (libc) && defined SHARED long_double_symbol (libc, __copysignl, copysignl); #endif