From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id WFpTArsAGWFWYQAAWB0awg (envelope-from ) for ; Sun, 15 Aug 2021 07:55:39 -0400 Received: by simark.ca (Postfix, from userid 112) id E97E81EDFB; Sun, 15 Aug 2021 07:55:38 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=MAILING_LIST_MULTI, RDNS_DYNAMIC autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.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 (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id F1E261E79C for ; Sun, 15 Aug 2021 07:55:36 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 489593898013 for ; Sun, 15 Aug 2021 11:55:36 +0000 (GMT) Received: from albireo.enyo.de (albireo.enyo.de [37.24.231.21]) by sourceware.org (Postfix) with ESMTPS id 67A1C3857828; Sun, 15 Aug 2021 11:55:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 67A1C3857828 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=deneb.enyo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=deneb.enyo.de Received: from [172.17.203.2] (port=37889 helo=deneb.enyo.de) by albireo.enyo.de ([172.17.140.2]) with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1mFEja-000106-5t; Sun, 15 Aug 2021 11:55:22 +0000 Received: from fw by deneb.enyo.de with local (Exim 4.94.2) (envelope-from ) id 1mFEjZ-0006TC-QY; Sun, 15 Aug 2021 13:55:21 +0200 From: Florian Weimer To: "H.J. Lu via Gdb-patches" Subject: Re: [PATCH] elf: Add -z [dt-debugsz|nodt-debugsz] to emit DT_DEBUGSZ References: <20210815002338.2779683-1-hjl.tools@gmail.com> Date: Sun, 15 Aug 2021 13:55:21 +0200 In-Reply-To: <20210815002338.2779683-1-hjl.tools@gmail.com> (H. J. Lu via Gdb-patches's message of "Sat, 14 Aug 2021 17:23:38 -0700") Message-ID: <87a6lix6qe.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: libc-alpha@sourceware.org, binutils@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" * H. J. Lu via Gdb-patches: > Add -z [dt-debugsz|nodt-debugsz] to emit a DT_DEBUGSZ dynamic tag so > that the dynamic linker can set its value to the size of the structure > of debugger interface, whose address is stored in the DT_DEBUG dynamic > tag, used by the dynamic linker. I do not think this is necessary. We can increase the version number in the existing DT_DEBUG structure.