summaryrefslogtreecommitdiffstats
path: root/tests/asm-tst8.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2015-09-03 12:50:54 +0200
committerMark Wielaard <[email protected]>2015-09-03 12:50:54 +0200
commitc3f93ad84e653a23a66d8fa4110292ed900ede25 (patch)
treee2303aded753f9eb6060e2cbda1f9d71be2bfaca /tests/asm-tst8.c
parentb00a4fa78779ff0f304fa6cb34d49622679c86d4 (diff)
backends: Use ebl->class consistently in sparc backend.
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. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/asm-tst8.c')
0 files changed, 0 insertions, 0 deletions