From patchwork Tue May 21 16:52:55 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: 1937496 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=OykDxkID; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VkLDC2gzYz1ydW for ; Wed, 22 May 2024 02:55:55 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9BBE53849AD5 for ; Tue, 21 May 2024 16:55:53 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by sourceware.org (Postfix) with ESMTPS id DE7483858C66 for ; Tue, 21 May 2024 16:54:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DE7483858C66 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 DE7483858C66 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::536 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716310484; cv=none; b=ITwuFdHqixliDSV1s0mERCeYYQ9m38U7bcN74HHpJlUXe5O+qVCAcvJi2UHWgd2yXVIU1HeHmypKDNprs38SQSeNzYm/QBAJEai2uO2yH2NVrdSgq0jRVwcL3IdlvLO8Eq8cc1t5YMe9gMl/NnfYc9JOKOhrxGHz3HG0YTjLm5g= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716310484; c=relaxed/simple; bh=x9NS9J9bYVEPKTFmA1ijAZCdzPrQTMpL7CPRs+eXUFo=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=nNI5b5PPAb3hHh8YY6nKxG67rDiMCBG7ONJjZFO3jdAG4kUdytUvvFpopHzhZv1LsBydspjcHkio7ymeQdPV2quhgEq2TivNVs32E0aVMe1MVWNk8XAL51X+ANAAqY5WdIPGykIWHtCkBoWRg/bbKkj6oVpazlhsi9nbev8emcA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-60585faa69fso18541a12.1 for ; Tue, 21 May 2024 09:54:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716310481; x=1716915281; 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=C41n9v6Xn3v+yA51x92IVYFYCcho3J+Bxq3Q6keiguU=; b=OykDxkIDBNH9Xu05+nXWMhdvb0+X239QuRdpww+taSdXB7P+eGVlmHnwol2VK1pUkc hFZshQxJVfqNwr46OyK6XiDeKVjNh0K0nFHvpImxB1wr/PzlkbBcpNSJnrT8NBzf8K0W J0XOi6r5pjPOiB+yiwcnFZveAhODX4ZlSM2dLoe4ftwNt/0n0s02Co1QX3FmYt9qCfmQ RpV2j3vfepkFo1fvQnW2H2mGFf2o+HAQ6l+z2QSN5urSHxjuUbVthgyEBV0SSuV/l4Ti VfRIxI/5/Vab0D47LrDjRVD8+1CVmbwnSmAafdDAVJnkvvaliVG6A9T89lIMiQ6VfUMN Wu/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716310481; x=1716915281; 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=C41n9v6Xn3v+yA51x92IVYFYCcho3J+Bxq3Q6keiguU=; b=ExAy4G2yQpyCZx16xFAAxxXNaER59v6FjBBxpg011U88hS3/xwrkhuIuGu1Y4eX1sU wUxf6WMyebKGq4/G5vnY+klpzlEVXHxASxzIvXN/SFIdiLUyY/bWEMJJiAfIDe2eFTqq EcW0sg69X4+sdGcP9PZ0jF6eyjxyUlJ2pu/cWXn3NFSRdoPtW4LOZEbfzer+39g3Byo9 d1c7RRwjxODh72T90XiX4N5H3ruVtAYW6LQGuDPGCSWsonp/b/GUWv6LloS50M8A6z2P TGAEK2UY6REHe6+PdcFPAqDJaxh+sjuk0dZgAF7thPW5GQwgTNhhK26I0SclOWOKAzJY Mlzw== X-Gm-Message-State: AOJu0YyeWj79VXBOnNtsfhX40GHvNL0TAbRF8pvbx2wf7/XhhHlQtz2p iecRMdf17GD4Uf1CIAN8ImqBkWg5AKVkjXt+jLGJhb8JJq6xV+KupzgXLiYPHRAUCqMY32RSa2x k X-Google-Smtp-Source: AGHT+IGTKmiymr5VjMlHUP3vJyv1L9MCdIVGe/dmC2526GgSSXuNjQKzxi4EnbuJGdL2zdaYqBRINQ== X-Received: by 2002:a17:90a:408f:b0:2ad:f3c3:540d with SMTP id 98e67ed59e1d1-2bd6040c272mr12918662a91.21.1716310480853; Tue, 21 May 2024 09:54:40 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c2:f76a:a4a6:1329:be7a:c724]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2bd92b3d2b0sm1620774a91.3.2024.05.21.09.54.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 09:54:40 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: "H . J . Lu" Subject: [PATCH v4 3/5] math: Provided copysignf128 for static libm on alpha, s390, and sparcv9 Date: Tue, 21 May 2024 13:52:55 -0300 Message-ID: <20240521165430.2998944-4-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240521165430.2998944-1-adhemerval.zanella@linaro.org> References: <20240521165430.2998944-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Checked with a static build for the affected ABIs. --- sysdeps/ieee754/ldbl-64-128/s_copysignl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 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