diff options
author | Jeff Law <jeffreyalaw@gmail.com> | 2023-12-01 07:19:50 -0700 |
---|---|---|
committer | Jeff Law <jeffreyalaw@gmail.com> | 2023-12-01 07:19:50 -0700 |
commit | 37d6ee9350c68c1f9688eeb030e3585b548fec81 (patch) | |
tree | d8d13ae34a82808e783fb42df6b80a08e476a066 /gdb/sparc-tdep.c | |
parent | fbd9e35c5436108732575e82e78cc42be5ba52f5 (diff) | |
download | binutils-37d6ee9350c68c1f9688eeb030e3585b548fec81.zip binutils-37d6ee9350c68c1f9688eeb030e3585b548fec81.tar.gz binutils-37d6ee9350c68c1f9688eeb030e3585b548fec81.tar.bz2 |
Fix right shifts in mcore simulator on 64 bit hosts.
If the value to be shifted has the sign bit set, the sign
bit would get copied into bits 32..63 of the temporary. Those
would then be right shifted into the final value giving an
incorrect final result.
This was observed with upcoming GCC improvements which eliminate
unnecessary extensions.
Diffstat (limited to 'gdb/sparc-tdep.c')
0 files changed, 0 insertions, 0 deletions