This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [BFD PATCH] grok NT_AUXV note in ELF core files
- From: Roland McGrath <roland at redhat dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: binutils at sources dot redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Tue, 20 May 2003 17:58:17 -0700
- Subject: Re: [BFD PATCH] grok NT_AUXV note in ELF core files
> Looks OK.
I committed it.
> > + 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.
That's not right either. I made it use bfd_get_arch_size on the bfd.
Thanks,
Roland