From patchwork Fri Feb 2 10:52:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 195794 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp342787dyc; Fri, 2 Feb 2024 02:53:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IELXzj1DM/2L/X8BqSLutUAEJsvl0TpcYGDv2/Na+kxnmS/bZKPZvVKLwASgzL8nba14EEM X-Received: by 2002:a05:6808:1928:b0:3bf:3876:2cda with SMTP id bf40-20020a056808192800b003bf38762cdamr5608655oib.26.1706871215209; Fri, 02 Feb 2024 02:53:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706871215; cv=pass; d=google.com; s=arc-20160816; b=ceg6pyTCO7JUuFbu5g9RckLJc03XuxbgV47TOuPPHlzJBLkGst61A5k7cOUxQXOK+2 l0DyAOBKZLQNmfkz5T0IjMHo+7NImdl1Bqo2L2Fj9A6kviBDUOyjZDcaasXJbWv4pMf+ Qi/dsm2wzpRYAiVT6BvzJNISoEBm35ZOKYCilfueFo95QNgjvehAHuUDFWl/tnteibWZ jku+nbNnDLmopprEg9nfdDZXNtZzNdb1arvH9opqSyh8OCK7xlSotAKakX9sfv4hW3IV s+qYJSbszgVNTsWExd4GHdYCDKhyfBPakgSvUq5AKF0ktoVy7lsO4KMW6cjtBzZtnMXw 9nEw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:reply-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=KYkZB+kuGQ2yFLQU915hodjlWhlBgJpqemM6AJfZmHU=; fh=AyzLn9bAmvKS5vpu6l5/b7tPWSrLpJQaUK6SzijWJTg=; b=z0iVrnSGbCaWPpRZSM+0cvhijhdVZozqWN5i0+SU+XQ0RHvJUsMgariSzorj2iQGMN cDgpD2JfZ6/PE/F3H5errF+vRErJ2bO/IMRSyy799ZuNySINmW8w2/9TPRUq7BY0Evk8 6ZIPwdX1BOWtKhm4ddJzfw58u/vo5fxXCvIhAImiwB1t3omsEs4WT1lnprN0mvFhK6Ij /78ZbdfyGUqG0dVQiPskFxUiUrZtYngUWLZLrG2rE/I+ynlyguLjafJSh0UF4VB4Tzb3 vVIYGzLjKTkUdNTqb80kqmt8+FbnYMow/APFoWR1a0rZd9xPrcHmH2aKgXsxquQKoCMy QRBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MUV5zBKn; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Forwarded-Encrypted: i=1; AJvYcCX7CWw+5MyKEEZP6csonYKXXLrLyxWVUYThMiRy7WC/5GWx3cqJervXNR3+uZ0ZM76euy3jqhb0hTWDj47rYbF49lc/mg== Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id 15-20020ac8570f000000b0042bf695a57csi1755108qtw.121.2024.02.02.02.53.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 02:53:35 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MUV5zBKn; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CBD80385802D for ; Fri, 2 Feb 2024 10:53:34 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id E45473858403 for ; Fri, 2 Feb 2024 10:52:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E45473858403 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E45473858403 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706871161; cv=none; b=GtzhjJH1NK4fCOu++a/Noh2KEBXSGf9g2RotHkh/4LUZ8scHkQ8M7Ug7oZjupV6whebifMvxrHdk88ANu0Zsl4xqQqoPuHY0V498RVLD+upjP2x3yD5dE/NQe+eopsRnuwgqBzzfPUWqV/UM92iR1s98Nm+Oc49s8CmltRAN0SQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706871161; c=relaxed/simple; bh=iTA5k52m+eG8U19eBPaZ3jd/72GZlWEaDDvIX3hmE9Q=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=ZhS3ey1fFGHA77oFmgc+eNfLRhbC1rAgeFNvCplLd+eZVQ2rN12pf5hqg+vZzcN9VyxfKWKakMwQ/UoDcX6KkA8za/wRfP+RylBOVp3A8l1XUTtiQ0UQhx5mY2Q1xtWFH2+ShexXnv5TeNxVLywNKt2/xWFv79FgWZoVEQTR0yE= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706871158; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type; bh=KYkZB+kuGQ2yFLQU915hodjlWhlBgJpqemM6AJfZmHU=; b=MUV5zBKn9xhoGUaYkuxswIrnUf6vZQGkIWsDYcw6MCsMwZSAfsMdroG4CKHaVmCZxSrtd3 P4C/LR5UA/E9R1CzVXmFJ5JF7q5+ai+5JCXr4YEDnwUb81/Qk+CQNds5LIuelHb27yb6Bm IMs4TU75VHcvkZT/PpxC9QpHWM8pvUY= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-592-dUNjy82HOg-PcQ0ymWrDgQ-1; Fri, 02 Feb 2024 05:52:37 -0500 X-MC-Unique: dUNjy82HOg-PcQ0ymWrDgQ-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2B2CA1C0BA45 for ; Fri, 2 Feb 2024 10:52:37 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.70]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E4046492BC6 for ; Fri, 2 Feb 2024 10:52:36 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 412AqUBN2707413 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Fri, 2 Feb 2024 11:52:30 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 412AqU122707412 for gcc-patches@gcc.gnu.org; Fri, 2 Feb 2024 11:52:30 +0100 Date: Fri, 2 Feb 2024 11:52:29 +0100 From: Jakub Jelinek To: gcc-patches@gcc.gnu.org Subject: [committed] libgcc: Export XF, TF, HF and BFmode specific _BitInt symbols from libgcc_s.so.1 [PR113700] Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789784191268631958 X-GMAIL-MSGID: 1789784191268631958 Hi! Rainer pointed out that __PFX__ and __FIXPTPFX__ prefix replacement is done solely for libgcc-std.ver.in and not for the *.ver files in config. I've used the __PFX__ prefix even in config/i386/libgcc-glibc.ver because it was used for similar symbols in libgcc-std.ver.in, and that results in those symbols being STB_LOCAL in libgcc_s.so.1. Tests still work because gcc by default uses -static-libgcc when linking (unlike g++ etc.), but would have failed when using -shared-libgcc (but I see nothing in the testsuite actually testing with -shared-libgcc, so am not adding tests). With the patch, libgcc_s.so.1 now exports __fixtfbitint@@GCC_14.0.0 FUNC GLOBAL DEFAULT __fixxfbitint@@GCC_14.0.0 FUNC GLOBAL DEFAULT __floatbitintbf@@GCC_14.0.0 FUNC GLOBAL DEFAULT __floatbitinthf@@GCC_14.0.0 FUNC GLOBAL DEFAULT __floatbitinttf@@GCC_14.0.0 FUNC GLOBAL DEFAULT __floatbitintxf@@GCC_14.0.0 FUNC GLOBAL DEFAULT on x86_64-linux which it wasn't before. Tested on x86_64-linux, committed to trunk as obvious. 2024-02-02 Jakub Jelinek PR target/113700 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Remove __PFX prefixes from symbol names. Jakub --- libgcc/config/i386/libgcc-glibc.ver.jj 2024-01-03 22:33:38.380691216 +0100 +++ libgcc/config/i386/libgcc-glibc.ver 2024-02-02 11:39:59.374523748 +0100 @@ -229,10 +229,10 @@ GCC_13.0.0 { %inherit GCC_14.0.0 GCC_13.0.0 GCC_14.0.0 { - __PFX__fixxfbitint - __PFX__fixtfbitint - __PFX__floatbitintbf - __PFX__floatbitinthf - __PFX__floatbitintxf - __PFX__floatbitinttf + __fixxfbitint + __fixtfbitint + __floatbitintbf + __floatbitinthf + __floatbitintxf + __floatbitinttf }