This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [BFD PATCH] grok NT_AUXV note in ELF core files


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]