From patchwork Tue Jan 16 08:23:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 84163 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DC5063858C56 for ; Tue, 16 Jan 2024 08:24:49 +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 9838F3858D37 for ; Tue, 16 Jan 2024 08:23:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9838F3858D37 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 9838F3858D37 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=1705393416; cv=none; b=YE6y7LRuRrIeZjAoU4fJCyNwcsC6OeWSQCnvaQkOauSnQtpmCnS9f+oiokXVfWDqxv++mP0av4ZXo7zLHQ6gtIWDz90MGmnq2p0yy/n2IxreiG6GnYQk6zfrml1wRJL0yggRs5p2Om3h7NmgWkK6BwgTPPo+B4gbgC7fKw0u6u8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705393416; c=relaxed/simple; bh=0DDyZMz0b14OSPW8gNV3DW4fLOlZ+szkkeH0dXESMdI=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=aAXpzTyoCGS0HtwpUQf8ylnGnmYQXHerkvzJr/Az1T9wQIR0ga5eYvpTGmPv38ctd2CUVWpbB4qv31Nf8aA6JFtzB3ScifQ3iQxx2E2RVEvTi3ZYz0Rp7AnYPPdY1fpEvQbjvXP75LkdqkA3Mse6jgCFqG00aDes5ZSwXv2bYeE= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1705393413; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type; bh=yWpxvUwpBISugjPhQGILB01b/nhoVrD0QthN726jeDA=; b=JuPQSJcDyYEfKweRMI4Dse5eY2MQRi6ZO0wRoVw21ZxJoM6RdmO8j/nPq6A/8ozp1j9AlJ NPDmv0oIhC4iaHIqpU67FJ2fK2hB3YTeum6TUWEdoqc3K4uXCABdxF1mdpBWdXv+nTtZV7 owlX2pyHKv+aFhFwToZLCfnXyN2CBNs= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-86-kok3G6UmM9GaRpFJM-Jm6g-1; Tue, 16 Jan 2024 03:23:31 -0500 X-MC-Unique: kok3G6UmM9GaRpFJM-Jm6g-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (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 2495585A58C; Tue, 16 Jan 2024 08:23:31 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.70]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DC4422166B31; Tue, 16 Jan 2024 08:23:30 +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 40G8NRcK3011988 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 16 Jan 2024 09:23:28 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 40G8NQ7K3011987; Tue, 16 Jan 2024 09:23:26 +0100 Date: Tue, 16 Jan 2024 09:23:26 +0100 From: Jakub Jelinek To: Richard Biener , Jeff Law , Iain Sandoe Cc: gcc-patches@gcc.gnu.org Subject: [PATCH] libgcc: Fix __builtin_nested_func_ptr_{created,deleted} symbol versions [PR113402] Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-4.3 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_H3, 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+patchwork=sourceware.org@gcc.gnu.org Hi! These symbols were exported at an incorrect symbol version, the following patch fixes that. I believe we should also rename the symbols (__nested_func_ptr_* or __gcc_nested_func_ptr_* or similar), __builtin_ in the name doesn't look right, but that will need more changes to make it work. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2024-01-16 Jakub Jelinek PR libgcc/113402 * libgcc-std.ver.in (GCC_7.0.0): Move __builtin_nested_func_ptr_created and __builtin_nested_func_ptr_deleted from this symbol version to ... (GCC_14.0.0): ... this one. Jakub --- libgcc/libgcc-std.ver.in.jj 2024-01-03 12:07:29.751347757 +0100 +++ libgcc/libgcc-std.ver.in 2024-01-15 17:55:16.064728452 +0100 @@ -1943,9 +1943,6 @@ GCC_4.8.0 { GCC_7.0.0 { __PFX__divmoddi4 __PFX__divmodti4 - - __builtin_nested_func_ptr_created - __builtin_nested_func_ptr_deleted } %inherit GCC_14.0.0 GCC_7.0.0 @@ -1960,4 +1957,6 @@ GCC_14.0.0 { __PFX__strub_enter __PFX__strub_update __PFX__strub_leave + __builtin_nested_func_ptr_created + __builtin_nested_func_ptr_deleted }