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.3 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 17A6A1F8C6 for ; Tue, 3 Aug 2021 16:39:43 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 141C03947433 for ; Tue, 3 Aug 2021 16:39:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 141C03947433 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1628008782; bh=/RjjQRP82Qf/nFlgXv4oV/yfvYlFgx0hZyOrNxFLS8Y=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=am+jZbM7iaOR0wrBKDwh9EZFwHnxi3Ic4nWYlCip5pQY7nltXPcu1Ksd9XZHvrQcv liqH+neqMc+y97vzZPTvmTy2xtMGDDPRMyW0iGBl6Da4/YahENwhfk66g7LBkFeNTn uA5miUd7bvhVorijbqcjDd+v3EFFY2UCz+6xBQo4= Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) by sourceware.org (Postfix) with ESMTPS id 9D804385500C for ; Tue, 3 Aug 2021 16:39:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9D804385500C X-IronPort-AV: E=Sophos;i="5.84,292,1620691200"; d="scan'208";a="824007296" Received: from alln-core-6.cisco.com ([173.36.13.139]) by rcdn-iport-9.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 03 Aug 2021 16:39:19 +0000 Received: from zorba ([10.24.30.193]) by alln-core-6.cisco.com (8.15.2/8.15.2) with ESMTPS id 173GdHgv023828 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 3 Aug 2021 16:39:19 GMT Date: Tue, 3 Aug 2021 09:39:17 -0700 To: "H.J. Lu" Subject: Re: RFC: Add DT_GNU_DEBUG Message-ID: <20210803163917.GU1633923@zorba> References: <20210727173958.GB1633923@zorba> <20210728154408.GF1633923@zorba> <20210728190211.GJ1633923@zorba> <87o8agto7v.fsf@oldenburg.str.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Auto-Response-Suppress: DR, OOF, AutoReply X-Outbound-SMTP-Client: 10.24.30.193, [10.24.30.193] X-Outbound-Node: alln-core-6.cisco.com 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: Daniel Walker via Libc-alpha Reply-To: Daniel Walker Cc: Florian Weimer , Carlos O'Donell via Libc-alpha , Pedro Alves , Conan C Huang , "Metzger, Markus T" , Jeremy Stenglein , "xe-linux-external\(mailer list\)" Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" On Mon, Aug 02, 2021 at 06:10:55AM -0700, H.J. Lu wrote: > On Sun, Aug 1, 2021 at 10:22 PM Florian Weimer wrote: > > > > * H. J. Lu: > > > > > 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. > > > > What about adding DT_DEBUG_SIZE, specifying the size of the data pointed > > to by DT_DEBUG? > > It works if we don't need to support static executables. > > > Perhaps the gABI folks are interested in that, too? I think it's worth > > a try. If the answer is “no”, we can still add DT_GNU_DEBUG_SIZE to the > > GNU ABI. > > I did. I didn't get any feedback. So no feedback equal "not interested" ? Daniel