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 0B0EA1F8C6 for ; Mon, 2 Aug 2021 13:12:16 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3AE81383A83F for ; Mon, 2 Aug 2021 13:12:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3AE81383A83F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1627909935; bh=ERO+jPPuuUA1V2/WK68QI1M8XiXAgUJZ9y1F30LX6Jw=; 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=ZC7HO4OheHbeGayUMOCCvaDjM7aMmaYIMgO1zp8SzprlSl31FTOdnoTwC+v3/sYCh uG8Sj3149vo2CFONainSXKnhuqoTomzU+694Ds+ULkKnTeXfe6FHgIXdBQFjPVqu1Z l/MVA+monGmvCrDkDqCDNKg4RPPaUxeMMkl8Zlgk= Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by sourceware.org (Postfix) with ESMTPS id 062E9386EC45 for ; Mon, 2 Aug 2021 13:11:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 062E9386EC45 Received: by mail-pl1-x632.google.com with SMTP id c16so19522851plh.7 for ; Mon, 02 Aug 2021 06:11:31 -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:content-transfer-encoding; bh=ERO+jPPuuUA1V2/WK68QI1M8XiXAgUJZ9y1F30LX6Jw=; b=iH6QO5lah9QA1VXpRmPSNCTB3G80fHqhJD4o4uTetTyeJUl9Hxx1iayNSpF4pmnuA4 /cJ3Hfgh1P2CPiOFZpeOUOGAmSJIDSp2R0s8kv9qKBCFVOvPTYJpewRFyrvGFNMZsQ8i cR65fjgplDp1pExQXb9D3DttA+og+gPQcI5Q1ob1NtGG4FMWVDQF0sZPS0d0IQ4wFuIe fjLFCvXTpDZ5n1sxst6BIF+TGTqTN7YoPsLpe/ae9Jv7Sb7YxRXSr/LLVw/BAA/JEnQy VGGRH7fdq6gn+dLNk+R9s3bfvr/aY0e69+eBWLyMjoyvMr7+vy5WOs4K1wVcl2ZEVIvC Bm1w== X-Gm-Message-State: AOAM530FS2oywvppkwZmAmD0nGIVH/9wee31gX9g4a78BgAJ9W9eNGXI zXZmkBrvK8ej6uDmDHqnXVQXrWtetajEhBBOK0g= X-Google-Smtp-Source: ABdhPJwG649sKBtS4L9vLkmkyAFRH2a1AD/9l08wjN1IYXf81jHXMXwD2Qa5T9hOW8KW64AWlSbOJ6Uv9ZKvLAfXqZE= X-Received: by 2002:a17:902:e5c3:b029:12c:a1f9:9d42 with SMTP id u3-20020a170902e5c3b029012ca1f99d42mr9588322plf.62.1627909891062; Mon, 02 Aug 2021 06:11:31 -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> <87o8agto7v.fsf@oldenburg.str.redhat.com> In-Reply-To: <87o8agto7v.fsf@oldenburg.str.redhat.com> Date: Mon, 2 Aug 2021 06:10:55 -0700 Message-ID: Subject: Re: RFC: Add DT_GNU_DEBUG To: Florian Weimer 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: "H.J. Lu via Libc-alpha" Reply-To: "H.J. Lu" 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" 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 =E2=80=9Cno=E2=80=9D, we can still add DT_GNU_DE= BUG_SIZE to the > GNU ABI. I did. I didn't get any feedback. --=20 H.J.