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: AS17314 8.43.84.0/22 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 [8.43.85.97]) (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 E73571F8C6 for ; Mon, 2 Aug 2021 05:23:17 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B613D3836025 for ; Mon, 2 Aug 2021 05:23:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B613D3836025 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1627881796; bh=l2No6tqYCr1w5/HB4v1g44R8FJo7jfVQ48gMvtB/k/M=; h=To:Subject:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=ZTIURWps6G3Grfh7AZsmIyOhC9Q6fTEXTIIxxEG/OpuTurA5rTvGXNP00dvdBNuGB z/YMACNdrqQCf4Sm2TttJsZ3I8l/gWbQHvZCiAiZ11B/A5RF9CWZjSYDuh2sjKV7fU ituREsX2UKWA2/BiwXP81aR1GofayXj8lACP2Z38= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 5B3EC383D007 for ; Mon, 2 Aug 2021 05:22:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5B3EC383D007 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-586-sv1Pk6ZzN7KwsSZVafyBiw-1; Mon, 02 Aug 2021 01:22:54 -0400 X-MC-Unique: sv1Pk6ZzN7KwsSZVafyBiw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 38EE8760C1; Mon, 2 Aug 2021 05:22:52 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.123]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D70C01B5C2; Mon, 2 Aug 2021 05:22:46 +0000 (UTC) To: "H.J. Lu" Subject: Re: RFC: Add DT_GNU_DEBUG 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> Date: Mon, 02 Aug 2021 07:22:44 +0200 In-Reply-To: (H. J. Lu's message of "Sun, 1 Aug 2021 21:24:36 -0700") Message-ID: <87o8agto7v.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Florian Weimer via Libc-alpha Reply-To: Florian Weimer Cc: 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" * 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 pe= ople >> > 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? Perhaps the gABI folks are interested in that, too? I think it's worth a try. If the answer is =E2=80=9Cno=E2=80=9D, we can still add DT_GNU_DEBU= G_SIZE to the GNU ABI. Thanks, Florian