From: "H.J. Lu via Libc-alpha" <libc-alpha@sourceware.org>
To: Florian Weimer <fw@deneb.enyo.de>
Cc: GNU C Library <libc-alpha@sourceware.org>,
Binutils <binutils@sourceware.org>,
"H.J. Lu via Gdb-patches" <gdb-patches@sourceware.org>
Subject: Re: [PATCH] elf: Add -z [dt-debugsz|nodt-debugsz] to emit DT_DEBUGSZ
Date: Sun, 15 Aug 2021 05:50:16 -0700 [thread overview]
Message-ID: <CAMe9rOobsP17GTaksjNcyYhWXVCN2dNBRNdu3NoPD1S9vPff4A@mail.gmail.com> (raw)
In-Reply-To: <87a6lix6qe.fsf@mid.deneb.enyo.de>
On Sun, Aug 15, 2021 at 4:55 AM Florian Weimer <fw@deneb.enyo.de> wrote:
>
> * 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.
Some debuggers expect r_version == 1.
--
H.J.
next prev parent reply other threads:[~2021-08-15 12:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-15 0:23 [PATCH] elf: Add -z [dt-debugsz|nodt-debugsz] to emit DT_DEBUGSZ H.J. Lu via Libc-alpha
2021-08-15 11:55 ` Florian Weimer
2021-08-15 12:50 ` H.J. Lu via Libc-alpha [this message]
2021-08-15 13:11 ` H.J. Lu via Libc-alpha
2021-08-15 13:17 ` Florian Weimer
2021-08-15 13:48 ` H.J. Lu via Libc-alpha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/libc/involved.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMe9rOobsP17GTaksjNcyYhWXVCN2dNBRNdu3NoPD1S9vPff4A@mail.gmail.com \
--to=libc-alpha@sourceware.org \
--cc=binutils@sourceware.org \
--cc=fw@deneb.enyo.de \
--cc=gdb-patches@sourceware.org \
--cc=hjl.tools@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).