From patchwork Tue Apr 2 14:06:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 785118 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:b0:33e:7753:30bd with SMTP id p1csp4953374wrt; Tue, 2 Apr 2024 07:08:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWxLBp2Hlf7siVKcbFna+CVH28lgSb/rUmShgRMtbUWQcahHywnsjajzIZWchMLOSGR8JzvcXfANgjoBgRLZjYK X-Google-Smtp-Source: AGHT+IE1xRkB7k9f2gnUFmscwtHeskI3cZvaG+joLfDKQRMtmegmWcj4gf11GVP2s3extZZ+QOoF X-Received: by 2002:a05:620a:8c3:b0:789:f7d5:806 with SMTP id z3-20020a05620a08c300b00789f7d50806mr13441100qkz.68.1712066916911; Tue, 02 Apr 2024 07:08:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712066916; cv=pass; d=google.com; s=arc-20160816; b=HZIymPfaFifw/c4UpIYX852VQ/AMs2ZnRbwUfjb6dawHDSiS2lRmfWcZbPC7rw4tvg tQGZ40001F0XkBqd3OnySB0ooH0JSLqBb3o8BamFBVpLM9BptuR7AvVUaLKfLM3rwEf9 F5uInOcQa54NKGhInQI3KQF+CDde6pKN3DyOW3LBCvI594XqkbwJRdhLLCfzyIovQfXP oDvXP/cMANcf0BgXM3WnZWh8rIadIcuME7TDnpq6CRaXgFs+PKNSgZDT05tQXw7gXxMS +ePUm+cue10QOZs9ph2QCMAyHBstfnjkqqMT8N3yUuQ9Pu+UPFlSA2R0jKkg9DqzVn9/ VSnQ== 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=Y4YYVgQBBVROi1Leo/8wpBGHfueJ71sr1wNvXEqDiww=; fh=WtLnUd2EuDKv+EP3BSdEI8hdivapDDAq3MY9+WgWrlk=; b=ILaeKwkPDcKM7Czn10i7bdGqCNlQ8Lvl38RwUxx/BfCXBQluOFfkXjsvrpDqHaLmoZ AqaVMnFBX86/Oy51tlWSpc+afiezxdpueLaHA+7W98UYukrdejtej41XzTvwfR8dNvBA 2Iqlqi5LBnL3QBWdtWOYGphrQJCSG186jMXsCGPEtzp+mOe82uNIZTv+P/7/xuRYACQb vapHIdoOT7sxtMqbHJ6MZdJFqhxzofopLd2xwgWLstpE0kvOVF4np4MPnQkYWpkwGIJ+ n2oFsqcpBfas5LpTydAm1ZyHyVPu4IWPdkhFtCrgrpjGHgyYmdvNPORBCvIa8jzkdax1 WMug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="boTL/KNm"; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 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. [8.43.85.97]) by mx.google.com with ESMTPS id vu1-20020a05620a560100b0078be44a0405si4444561qkn.146.2024.04.02.07.08.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 07:08:36 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="boTL/KNm"; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 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 71243385E449 for ; Tue, 2 Apr 2024 14:08:36 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by sourceware.org (Postfix) with ESMTPS id 2B46B3858C74 for ; Tue, 2 Apr 2024 14:07:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2B46B3858C74 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 2B46B3858C74 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::432 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712066832; cv=none; b=VnD8IiWrdK6YU9eWHlhgdGd3pJATYS8HPTsB7dKa7lArAJWdmogVndlPUBXuzECSkNV3y7iFT+xPzl7SkwyCrGY2iwWFkCnQm2iNysA2NGglK9y0mKl4B7h2e4Ue4kz4f48ou3ZUSQSso7iWsAG90Uz9lRvyVOHQZlODK+BIP6k= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712066832; c=relaxed/simple; bh=t05dAXF3TVUBBkzvQxjPS5tZrlsGMOmnEU7trT5ZUP4=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=FobxWWtT7Pgg9WCsLXxRrtBg8M4G+UI2AXEmiO+W9GeVHlsEw4qr7K8cbXdwl54ScZFqguWCaJcjqrgoYFkElBtD86FpmGY+vrkRp9obXR00zpWnRRM9/4xRdo3K4L5A2+gr/QIE3cvrmJ5Je0RdyCZXZ9MGsB4lXQ9jfn2ZkWE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-6ea80de0e97so3661938b3a.2 for ; Tue, 02 Apr 2024 07:07:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712066819; x=1712671619; 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=Y4YYVgQBBVROi1Leo/8wpBGHfueJ71sr1wNvXEqDiww=; b=boTL/KNmQGl9wbGcpP3EB/dnmZO2kMfyQtEl+QNXlchpiJ7r0b7jQNz5QQ8QoBalQb S6i3iz1tjfMIQKWBbQD9NJesTHLLPRyUZVRuxoeF6W4fvLCJAmV514wF59VT5BDCNNyU Ls6IXiV9xk4EJUrNGZCmE4rFLW2YecK2lccjP56MPb16nKosYW9CNXAdT84yGhcf5u4a XheWeHyO9CIelakoeBsHs0JgxBH2AND1iAnxrsD0rSCHU4HaI1oqXkTgby0xBs/UgCLU 2yDFdRBXJgbWP5KwgICmniBO49m3e78OCIrC29cbtT6NiPIg6MF7zOU09NsCw/R8HQ0x 9DrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712066819; x=1712671619; 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=Y4YYVgQBBVROi1Leo/8wpBGHfueJ71sr1wNvXEqDiww=; b=Q9Yt9geOKv7tPZzch+wgfcKKWFwfhJf/dk8i9J3UdsAgOJwF7bx1mRXfDxPCaMZOfv VQf6XZ2uXIoxwTJfncEKGYCt5kZu0JliMak1yOGcD71fe34/wa4+lYFWp9crnGKI0zZZ dvmU+04SSsYcvJ4C6Sx7Rz4858QAspXlMMCnWUZJ/n6IGiYQWPSH0XRNKCUeSXmuCivc FG6nsG+uq2UWLbflLJGLrZqc+3EeSdHhtqAM6Wyl/KoZYd4nzocT11Ebr4mmptw17Q4P MYL9LXTSFMzA6IOqBTVf/D0+/gqU0s2uXGmma+vW7zJnkhYrgndqOPpamV1/Owb7pNSl w9hg== X-Gm-Message-State: AOJu0Yy6jsyyq7ACodpYwqtZ2oPPieHqEc8xZJqcVpfnRDYqOJ6a+17S ktC/6NNJzDgjdrITXhRXCWIAp6I8RNb8K4eWYPLz+wG9sNx443NVLRw8xFpm29IuiOEU8sVZNtJ L X-Received: by 2002:a17:902:a504:b0:1dd:68cd:728b with SMTP id s4-20020a170902a50400b001dd68cd728bmr11059785plq.17.1712066819614; Tue, 02 Apr 2024 07:06:59 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c3:b18e:b217:420c:65ee:fc3e]) by smtp.gmail.com with ESMTPSA id b3-20020a170902d50300b001dcb654d1a5sm11078483plg.21.2024.04.02.07.06.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 07:06:59 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: Joseph Myers , Florian Weimer , "H . J . Lu" Subject: [PATCH v3 5/7] math: Provided copysignf128 for static libm on alpha, s390, and sparcv9 Date: Tue, 2 Apr 2024 11:06:42 -0300 Message-Id: <20240402140644.2172819-6-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240402140644.2172819-1-adhemerval.zanella@linaro.org> References: <20240402140644.2172819-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.3 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+patch=linaro.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