From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-4.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from 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 RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 392981F8C6 for ; Mon, 2 Aug 2021 04:25:33 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3EC7B383982F for ; Mon, 2 Aug 2021 04:25:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3EC7B383982F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1627878332; bh=W953Fat6q3NhtCdW7HxxBEhaZ3HqL1+Ww2jK7FWyPis=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=JrZ+IFOsAgTWHrzhNa4yuy8M5vgPgY9z+5gUl9ndJl/57QK4isTvXjncqxmWPTLMW 5NNK8u/IjRfGvAVtryvGQ3faQdg9KGq3WesLvgUYj04FZIoJuzm197hwp+xIzbVyi+ lroFUoMwPBZ7su+LJaBpw7RRU17PvEzVOSOtb4UM= Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by sourceware.org (Postfix) with ESMTPS id 9E68E385AC12 for ; Mon, 2 Aug 2021 04:25:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9E68E385AC12 Received: by mail-pl1-x630.google.com with SMTP id t3so16150977plg.9 for ; Sun, 01 Aug 2021 21:25:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=W953Fat6q3NhtCdW7HxxBEhaZ3HqL1+Ww2jK7FWyPis=; b=ixLJi9do4qelNvOfNNjEsj/pO+bNgbE3E96ZyNn19lw2fqy+2aSiP+tImTsITTnfj+ qDkz6fNzRppMuffbUMME7bmPkAkJtdUEG50UAriHlguyepBAIY+MJHg2JtlYbNVqq6uj UQP69D1oKpTY3+LYWuLQFktrH3D4NcQRMoCMvUqaXmxXywJ0o2DksfEiYqJElYPLTDLi iBbVfGhIf34s83PO0hQcBwy185+SDm0BJXKbniXVBe/IYUMonWQUE2oJAI1b0Yxka8e3 c9KVOxOHMoST2Awue+mEJ/D34KZQyeCREBQYWi/9v6wgPgy/fXctG5Q9aPN4U9D8qPcZ V1Gg== X-Gm-Message-State: AOAM533VI0Ry5h6g9x0TE/eSmpntYy0CGd/p+z/v0W+bZRXjaLBOsDgx dNICj4YFpPp1IgSxALPDCGbXJ3s5zG1gR+FxrUw= X-Google-Smtp-Source: ABdhPJzOBjR1cbJURXzNcmjse97I/SPdUdD25z1BsGdlzYUZBolxkkspbvgqgJtTDYHHBSdE4xqpctwf2+7CHP6A/Qo= X-Received: by 2002:a63:114d:: with SMTP id 13mr543219pgr.180.1627878311760; Sun, 01 Aug 2021 21:25:11 -0700 (PDT) MIME-Version: 1.0 References: <7e2fb426-cf03-a8e7-6524-a5f81fcf5b9e@redhat.com> <87ftagyhra.fsf@mid.deneb.enyo.de> <8a15bd93-e4cc-a3bc-f902-5b3e701ec4e3@redhat.com> <87y2o61chx.fsf@oldenburg2.str.redhat.com> <20210727173958.GB1633923@zorba> <20210728154408.GF1633923@zorba> <20210728190211.GJ1633923@zorba> In-Reply-To: Date: Sun, 1 Aug 2021 21:24:36 -0700 Message-ID: Subject: RFC: Add DT_GNU_DEBUG To: Daniel Walker Content-Type: text/plain; charset="UTF-8" X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: "H.J. Lu via Libc-alpha" Reply-To: "H.J. Lu" Cc: Florian Weimer , Carlos O'Donell via Libc-alpha , Pedro Alves , Conan C Huang , "Metzger, Markus T" , Florian Weimer , Jeremy Stenglein , "xe-linux-external\(mailer list\)" Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" On Wed, Jul 28, 2021 at 1:04 PM H.J. Lu wrote: > > Do you want to drive this, or should I ? It looks like you know the people > > involved better than I do. > > > > https://groups.google.com/g/generic-abi/c/1ngxmSwrafc > I don't think the gABI community is interested in a new debug dynamic tag. I propose DT_GNU_DEBUG: #define DT_GNU_DEBUG 0x6ffffff8 for the address of a pointer which will be filled by the dynamic linker. Linker should add the DT_GNU_DEBUG entry to executable's dynamic section. BTW, we have a choice. DT_GNU_DEBUG can be readonly or readonly after relocation, like DT_DEBUG. -- H.J.