This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] backends: Use ebl->class consistently in sparc backend.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 07 Sep 2015 12:54:45 +0200
- Subject: Re: [PATCH] backends: Use ebl->class consistently in sparc backend.
On Thu, 2015-09-03 at 12:59 +0200, Mark Wielaard wrote:
> sparc_init would check the ELF class to register to correct core_note
> handler. But sparc_register_info would check the ELF machine to determine
> whether the register set was 32 or 64 bits. This caused some confusion
> and assertion failures in readelf when printing core notes where the
> sparc machine and class didn't seem to match up. Check the ELF class
> in both sparc_unit and sparc_register_info to give consistent results.
I pushed this to master.