Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Alan Modra <amodra@bigpond.net.au>
To: Roland McGrath <roland@redhat.com>
Cc: binutils@sources.redhat.com, gdb-patches@sources.redhat.com
Subject: Re: [BFD PATCH] grok NT_AUXV note in ELF core files
Date: Tue, 20 May 2003 11:14:00 -0000	[thread overview]
Message-ID: <20030520111203.GE3914@bubble.sa.bigpond.net.au> (raw)
In-Reply-To: <200305192146.h4JLku707345@magilla.sf.frob.com>

On Mon, May 19, 2003 at 02:46:56PM -0700, Roland McGrath wrote:
> This patch makes BFD reading of ELF core files fake a section called
> ".auxv" for an NT_AUXV note, similar to the fake ".reg" section make for
> the note containing register data.  It also adds data structures to
> include/elf/ for interpreting the contents of such sections, analogous to
> the translated forms of other ELF data structures.  Nothing uses these
> formats as yet, but gdb may begin to.  The format layouts are generic ELF.
> 
> Approved to commit?

Looks OK.

> +	sect->alignment_power = 1 + BFD_ARCH_SIZE / 32;

Except that BFD_ARCH_SIZE is fairly useless.  See the comment in
bfd-in2.h.  BFD_DEFAULT_TARGET_SIZE might be better.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


  reply	other threads:[~2003-05-20 11:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-19 21:46 Roland McGrath
2003-05-20 11:14 ` Alan Modra [this message]
2003-05-21  0:58   ` Roland McGrath

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030520111203.GE3914@bubble.sa.bigpond.net.au \
    --to=amodra@bigpond.net.au \
    --cc=binutils@sources.redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=roland@redhat.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