This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Use the ELF class to determine the word size for FreeBSD core notes.
- From: Alan Modra <amodra at gmail dot com>
- To: John Baldwin <jhb at FreeBSD dot org>
- Cc: binutils at sourceware dot org
- Date: Thu, 1 Jun 2017 15:27:00 +0930
- Subject: Re: [PATCH] Use the ELF class to determine the word size for FreeBSD core notes.
- Authentication-results: sourceware.org; auth=none
- References: <20170531180757.11380-1-jhb@FreeBSD.org>
On Wed, May 31, 2017 at 11:07:57AM -0700, John Baldwin wrote:
> * elf.c (elfcore_grok_freebsd_psinfo): Use ELF header class to
> determine structure sizes.
> (elfcore_grok_freebsd_prstatus): Likewise.
OK. I think this is a big improvement over using bits_per_word.
--
Alan Modra
Australia Development Lab, IBM