From patchwork Sat Sep 13 23:11:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Pfeifer X-Patchwork-Id: 120201 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 35B393857B8F for ; Sat, 13 Sep 2025 23:12:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 35B393857B8F Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=pfeifer.com header.i=@pfeifer.com header.a=rsa-sha256 header.s=pair-202402271039 header.b=dwOfuh6N X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from hamza.pair.com (hamza.pair.com [209.68.5.143]) by sourceware.org (Postfix) with ESMTPS id 9E98F3858D38 for ; Sat, 13 Sep 2025 23:11:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9E98F3858D38 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=pfeifer.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=pfeifer.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9E98F3858D38 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.68.5.143 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1757805099; cv=none; b=hTADBAlDtZSfayBuhP7rT2lECu45LzKGraSRnV+OQzf3+dCBS1PRCGR32tcUNjdC/ONSMnBpB85OUxa2L1CuAIphONlwMCX3ZqZVTcFIHYBhnDHaUgQRS3r+rUoOPJ3ZV8WpVQrPH9ydnrqXnr3wBuPIW7JcyY3f+MXpn8FSAI4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1757805099; c=relaxed/simple; bh=WIwRPurZJCcL1i2NslWKwSgvIhwwSWCLq8ekTZN+uX4=; h=Date:From:To:Subject:MIME-Version:DKIM-Signature:Message-Id; b=dikJiD6Ty9q7wToJYleTJioAhZ960HWj2TZpM2fyUF2yBBVURXv3+B1gl97TiZn4QaDhfZLWKvrjMGgwucgToLDnE825/39W0ZT6SXp66x7iVs9zwBAgArwC6DuhLPQqr5mI/7qoqACb81QAjdsZXR20ne0DmKcuscq/NKz1u9E= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9E98F3858D38 Received: from hamza.pair.com (localhost [127.0.0.1]) by hamza.pair.com (Postfix) with ESMTP id 38A2419C13B for ; Sat, 13 Sep 2025 19:11:39 -0400 (EDT) Received: from daya.localdomain (62-47-129-66.adsl.highway.telekom.at [62.47.129.66]) (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 hamza.pair.com (Postfix) with ESMTPSA id C3FA0745955 for ; Sat, 13 Sep 2025 19:11:38 -0400 (EDT) Date: Sun, 14 Sep 2025 01:11:37 +0200 (CEST) From: Gerald Pfeifer To: gcc-patches@gcc.gnu.org Subject: [pushed] target.def: Properly mark up __cxa_atexit as code MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pfeifer.com; h=date:from:to:subject:mime-version:content-type; s=pair-202402271039; bh=EehKZ3HVvpeuUzgzE62ecnM47rPVa6wEA3gRgOuQ1H4=; b=dwOfuh6N7vNRge1vDzK/B4k35qVRV20eCfXBHpowagm0BufvYSyiOeQPdsx6OEXu4bTiEEroxRj8JklFKe8UPZLG4SJuXo6U+D/VP3P/nGSP6Y+OKJS52eW/KCZD4mHCVWeYpXt+q0WvPADQEIfpOEwPZFCRgmrE+yzR/W6dTjh1V3fGZ6SsFG6hxZg9+b+1HybpJJaAEW89FIE9tQUuRYcz5GbQo/Jx4a5elo4SBE4Xc5++jLH5KAzOqMYZ9FFRbU3v8ouUIgjI9LEH+4Rg8+FODVfaN7LLBQpdeUPPY1Dc/SnnB56qoasa5wc2Uwwkyp+I1lMjrFtYfxOZ4c7ulQ== X-Scanned-By: mailmunge 3.09 on 209.68.5.143 Message-Id: <20250913231139.38A2419C13B@hamza.pair.com> X-Spam-Status: No, score=-9.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED, 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: 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: , Errors-To: gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org Pushed. Gerald gcc: * target.def (dtors_from_cxa_atexit): Properly mark up __cxa_atexit as code. * doc/tm.texi: Regenerate. --- gcc/doc/tm.texi | 7 ++++--- gcc/target.def | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 37642680f42..b80e6846dd7 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -9579,9 +9579,10 @@ It is false if we must use @command{collect2}. @deftypevr {Target Hook} bool TARGET_DTORS_FROM_CXA_ATEXIT This value is true if the target wants destructors to be queued to be -run from __cxa_atexit. If this is the case then, for each priority level, -a new constructor will be entered that registers the destructors for that -level with __cxa_atexit (and there will be no destructors emitted). +run from @code{__cxa_atexit}. If this is the case then, for each +priority level, a new constructor will be entered that registers the +destructors for that level with @code{__cxa_atexit} (and there will be +no destructors emitted). It is false the method implied by @code{have_ctors_dtors} is used. @end deftypevr diff --git a/gcc/target.def b/gcc/target.def index 8e491d83864..d4fd3b46a7d 100644 --- a/gcc/target.def +++ b/gcc/target.def @@ -7238,9 +7238,10 @@ It is false if we must use @command{collect2}.", DEFHOOKPOD (dtors_from_cxa_atexit, "This value is true if the target wants destructors to be queued to be\n\ -run from __cxa_atexit. If this is the case then, for each priority level,\n\ -a new constructor will be entered that registers the destructors for that\n\ -level with __cxa_atexit (and there will be no destructors emitted).\n\ +run from @code{__cxa_atexit}. If this is the case then, for each\n\ +priority level, a new constructor will be entered that registers the\n\ +destructors for that level with @code{__cxa_atexit} (and there will be\n\ +no destructors emitted).\n\ It is false the method implied by @code{have_ctors_dtors} is used.", bool, false)