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.
