From patchwork Wed May 22 12:17:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 798150 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:92:b0:351:d90a:5487 with SMTP id m18csp430114wrx; Wed, 22 May 2024 05:17:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVKDh/4Mn2ZOOQ7GtKHNC2pdJE/Hb7KlZ/QzcSAHpw8vi7GFNk/L4tldGRbghKf3xj2ycy7m61XysuJ9m/G/aZW X-Google-Smtp-Source: AGHT+IEKQ3cJLIdK/uFdLxJSHV7DTpaWeGtfnor6yoWeQP7aoiphalOTvNARqls5F0V0J5xYuzL7 X-Received: by 2002:ac8:5a03:0:b0:43e:2574:ea9e with SMTP id d75a77b69052e-43f9e1ab399mr18205881cf.50.1716380269262; Wed, 22 May 2024 05:17:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716380269; cv=pass; d=google.com; s=arc-20160816; b=ncgub2ZhAtRhXt/rnqbLKCZbAR3Ja4+mIQzE/TCnqZfOSW1RE+daRaMrLe9xTJln+b dU3AjKvwd7uzdi7P6zWUP2ZKNkbaer1y/GqYwDwowOiKwmbxXOmF2f+HzQcsncQH/uEC B3pITQpe1yBniCzxvBzcihrU/P+OGYR1ORp/l6J/VooeSwqh+zZlS2XqvwXxvcawJi7k ofK0s0MA00545w4O9v5mAi+zpwx0a51lZ0JVPwHJk/8yGCAanTXv5ZyFXjqApr0gu044 VzyYZgWShn2n6o0E6Wv3MBPhZtq0060qqTxn2lNeltvALskxlG27kwKjCp+l28kp4pX8 hGqQ== 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:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=I4BzWpAwZ4sHcZBiIPphO/clcFclHyU2wusxO/XlVRU=; fh=+6orIzRLXQY2FWXAtGF+abYflc8V+YPKzsYFuX0DJM4=; b=kJ9prRRwj3Mux29qRLhu62F8hDJjTktHLtrLLa0Go/m+5T2F55CAPhc2Ma2L+PROUM ZDhjsC/TCx8anjjrIeTMMaH0AdBXcefwFh2bvflladbRBwVCNrDJNu1zwCj1k123MG0F CnWGyixuSzGrswPOn9Z67K6Z8HDai24Yik/lbwntTwng0qWHOmMd9gedMUFrA/SPF2e/ Z7krT9roZuQMJB+N746JFtdnWH1GCWOpd5xVmbUg4AGd2ogxVieHjTr46yDh/VK8fDjN 7WwYthJZ3U/WL8zSuG4d5cHHdA5kVq22OwtpwAFxL8NR2ePqiSzSl9RYvs8I7Wrp4M+Z Wz/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WKOqLJBM; 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: Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id d75a77b69052e-43df56d2700si159636461cf.665.2024.05.22.05.17.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 05:17:49 -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=WKOqLJBM; 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 B920738654B0 for ; Wed, 22 May 2024 12:17:48 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by sourceware.org (Postfix) with ESMTPS id 6A00D3858D26 for ; Wed, 22 May 2024 12:17:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6A00D3858D26 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 6A00D3858D26 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::535 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716380257; cv=none; b=XXKIZHRKtYadaGmmunG09sIuhoVXD0FPyCVmppErYKTmBH7MGHx/b4ppWCe/6hO9nN+Rhmpw6GOgNUrBD7KL4tEyKBrGsYckd/CotbkcAoNeCjXsFH3OrO7jx3GBUE9D76JAZnQk2+dGDIk0uLmsGjFoXySkNMgcj+VvbRmAdjA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716380257; c=relaxed/simple; bh=h3tsuhWdBclcdT7xrhupKBeTxfu/9Qc7uClgp5/7Z20=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=SgbqEJTnoYwbL8G9ML2SCZwXNDPGchPrfRDWilSoJ7W9YT+43LadD+1XvzybK5mwifTIbfZpbRyj4R43ntUMjVdVr5lF8HEEI0q96hhwUBrHzz/ywYAuos9fnktQHwCbzE/dy5dfC3ia+QHlw1HfnnhHdsCbRXBWqPvIZOvkW4I= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-53fa455cd94so2170454a12.2 for ; Wed, 22 May 2024 05:17:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716380245; x=1716985045; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=I4BzWpAwZ4sHcZBiIPphO/clcFclHyU2wusxO/XlVRU=; b=WKOqLJBMy4SNazr/Iky8SwE9pXrBShr/stSjYdVfUikOIjVOTnTBE87SfC8FE4XjKx YqxABpYezYZSEfDpQFVnV1qxsB7eUUJjT+6xaVcXNebn6ZBMV5baxkFeKRT6FWAosFf6 S0+ABXCgfhHSWNVyA6E1kWasK9a0ktSa55XR4zE3aAFwrQ//+DHp5lH2J93GUUM+9VAR 9STXbJ6gTY1/wYtpV3HHgAEWy6Ovc/yOxJXRYd5brVs7OIOm2xHENFi/6rPFP/6oOKmD WFTcooKRlh6YiGKL2emTcM7FueelVto+ZJyWG/xxj1khKpFzyQI/j60OnrOGSPb8/4wP 7Frw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716380245; x=1716985045; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=I4BzWpAwZ4sHcZBiIPphO/clcFclHyU2wusxO/XlVRU=; b=nLDYAAUBbAaiflP90P2J3YO9ZryDmTQuzeQDsj5arVqSPt9WjQagFNLVq0p9rbUzgX gWrHZg0wFNYioEV/tiwhMFl0+aJx4bK6UfIba/4oSjiJYdgcd5QiMX7GTom38JZSfrWA NYNm3fuVglSUI0g8ohBZ5PZ9ns50tofNWXP8U2vv30xkKrTHzkytGfPkLSBLHxbZOWN0 CfYR2xzH3XGwNm+Zwwq3qcEIHJ1cQbsDNsY5GXUAS/I9quyyaMxzUbnxqGo14RjTXiPF 7MVBDbFMOcZdLoDj/MMOJfFt29kCaYIr/LVMMAM808dqd5eHoWK6HOFxqMlDfPvKtoue f0oQ== X-Gm-Message-State: AOJu0YxZx+nnH/cFTw7mHhy9LQggL5C0xubcOVQOKup84GlehCy1E5SS 8VS1tjsgp1NbAVBG3l+z8w24UG1kKVLlIqcY9CoYFg4h8ZGxi/UMKJSdrru0utE+8k2Ewsn4goK 9BTA= X-Received: by 2002:a17:90a:5b0b:b0:2b4:3a1e:2400 with SMTP id 98e67ed59e1d1-2bd9f4652ffmr1972552a91.18.1716380245504; Wed, 22 May 2024 05:17:25 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c3:7718:cb55:8353:f3c4:f762]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2bd76729d74sm5968159a91.35.2024.05.22.05.17.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 05:17:25 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: "H . J . Lu" Subject: [PATCH] math: Provided missing math symbols on libm.a (BZ 31781) Date: Wed, 22 May 2024 09:17:06 -0300 Message-ID: <20240522121721.3477938-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-12.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patch=linaro.org@sourceware.org The libm.a for alpha, s390, and sparcv9 does not provide copysignf128, frexpf128, modff128, and scalbnf128. Checked with a static build for the affected ABIs. --- sysdeps/ieee754/ldbl-64-128/s_copysignl.c | 4 ++-- sysdeps/ieee754/ldbl-64-128/s_frexpl.c | 4 ++-- sysdeps/ieee754/ldbl-64-128/s_modfl.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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 #include -#if IS_IN (libc) +#if IS_IN (libc) && defined SHARED # undef libm_alias_ldouble # define libm_alias_ldouble(from, to) #endif #include -#if IS_IN (libc) +#if IS_IN (libc) && defined SHARED long_double_symbol (libc, __copysignl, copysignl); #endif diff --git a/sysdeps/ieee754/ldbl-64-128/s_frexpl.c b/sysdeps/ieee754/ldbl-64-128/s_frexpl.c index 73ac41e40c..f5f7d349f7 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_frexpl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_frexpl.c @@ -1,10 +1,10 @@ #include #include -#if IS_IN (libc) +#if IS_IN (libc) && defined SHARED # undef libm_alias_ldouble # define libm_alias_ldouble(from, to) #endif #include -#if IS_IN (libc) +#if IS_IN (libc) && defined SHARED long_double_symbol (libc, __frexpl, frexpl); #endif diff --git a/sysdeps/ieee754/ldbl-64-128/s_modfl.c b/sysdeps/ieee754/ldbl-64-128/s_modfl.c index 7d7aeae111..ba3d31334a 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_modfl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_modfl.c @@ -1,10 +1,10 @@ #include #include -#if IS_IN (libc) +#if IS_IN (libc) && defined SHARED # undef libm_alias_ldouble # define libm_alias_ldouble(from, to) #endif #include -#if IS_IN (libc) +#if IS_IN (libc) && defined SHARED long_double_symbol (libc, __modfl, modfl); #endif