From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id EB3921F44D for ; Wed, 27 Mar 2024 19:42:29 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=KlsQkKHP; dkim-atps=neutral Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3E5CC385ED4F for ; Wed, 27 Mar 2024 19:42:29 +0000 (GMT) Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by sourceware.org (Postfix) with ESMTPS id 3084A385E037 for ; Wed, 27 Mar 2024 19:40:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3084A385E037 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 3084A385E037 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::102c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711568451; cv=none; b=B7N4M6lrkQR5au1rtAotXgX6WONeasC3ZLBwzpR6CtWmAPqsBtHj8PVgQ0ZIEGg+AnZx+c8Mj+V+94nzQsDnJ8uGT7Kb3I8OQw6kKiGkPeSar1uwJ1Z1/IYaOO94WeKFL5whbh3n3UH2G+s2P2PE1YfKCqdeHU933oez362zzo0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711568451; c=relaxed/simple; bh=wX45uKGaEumacqHgV0XE5fPzRX3klc784/S2m/Ik2O4=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=xvYxfyhvAk9tMj4oLQluLQT7PrkrkAeom5a8hXUGjp37Wqd9TueNC9Yz2I9txjLq9CIy7yrteopz30WMg2f18vmpGDBgc0TUM0V7ry6vgS5WQ3JKQcSxOC9VdnnPcwhWXrVK9BnIVfnSeBwAIFWAhx7ii5vZwuspKlidxyfHnI4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-29a8911d11cso195485a91.1 for ; Wed, 27 Mar 2024 12:40:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711568447; x=1712173247; 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=KlsQkKHP59w9qgd+WmSETmF7Nyoshye0WrkNSnI144qK3X+M3NNBZ/YktlkJDBckG5 GUydthUjNxngoVhkZJb8HEjh1+ZgYUdYyAB6tsgr6ok4peuQPYAgL+TP44aRpTZ+k4g9 AGDURXDHnPyZcOCbvgtzFwdufUfKM5HKoczIleSoeEkw2PiHAYI0OHhJi3cYeFHKeE9X haMe972JULuf3WpwbaLVss9+7ZANMHL8I7Bpgfg0i+p7d7mMWBq+2f0kbJ6Lzu5mR1gr 3fBjs33YQcDy3eJxgQjJClYwdvytk80SlPsFfcLG7gHlJ47CLBjE/xXJCWnC60pZHJLH lSQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711568447; x=1712173247; 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=tTQvDS+DWCIlf8TRvD+51a6yWH2ngH7C5TGC+0uIiBDyI+IQTbALsz0AICrS6IvDmH rLQweW+23Ti5JnHk0RvvRkfvO+TyC3LStetfmeqbY8edL78rjyvWGSruq1KDOrEPfA1C ZCtTGsQCxGCE53MMQ/QpeYulE6+oplo00FGBg+ehHRUkeRSRV+2oJyDUHEbwcm0JkSBR 40SPY+i+avF374OKSAcF2fW/N4/DF3EMige5jzyVoBJ1kgPE6bGn9MKVmceUw97VFrOs KquvH5aA0IJ69D5wcwxnjeFZC5O0EidlRA+D/OiFI07t9IpBvBTW+Z8QDrXrA4azom3x 1OTQ== X-Gm-Message-State: AOJu0Yxf4ydgknyNU3zpskZEBM7sRAVXHckJrwvLa1dtMWCD+Ok9i3ML 24Y86sQNduFSuw3/gpIPRJ4nwOBi/2CtbqU1Az7f7vzLKMsacFVh+W9RBFRrwCMw3u7dF9+sNPF H X-Google-Smtp-Source: AGHT+IE5y2Ar03nkfKXdwa8nIrROnDM6W+gqZMaSrh0IzYkIXloABCuIKqwhBcG9pLK1+EHm0g1S4Q== X-Received: by 2002:a17:90a:7f98:b0:2a0:4008:2ac1 with SMTP id m24-20020a17090a7f9800b002a040082ac1mr679087pjl.26.1711568446801; Wed, 27 Mar 2024 12:40:46 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c3:b18e:67c4:6248:3d8a:f386]) by smtp.gmail.com with ESMTPSA id p11-20020a17090a348b00b002a091be027esm2277357pjb.31.2024.03.27.12.40.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 12:40:46 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: Joseph Myers , Florian Weimer , "H . J . Lu" Subject: [PATCH v2 08/10] math: Provided copysignf128 for static libm on alpha, s390, and sparcv9 Date: Wed, 27 Mar 2024 16:40:22 -0300 Message-Id: <20240327194024.1409677-9-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240327194024.1409677-1-adhemerval.zanella@linaro.org> References: <20240327194024.1409677-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+e=80x24.org@sourceware.org Checked with a static build for the affected ABIs. --- math/Makefile | 1 + sysdeps/ieee754/ldbl-64-128/s_copysignl.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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 #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 -- 2.34.1