Fix incorrect register mask.

PR gold/22213
	* sparc.cc (Target_sparc): Fix incorrect register mask.
This commit is contained in:
Cary Coutant 2017-09-26 07:33:04 -07:00
parent 33e0a9a056
commit 00956d3a8a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-09-26 Cary Coutant <ccoutant@gmail.com>
PR gold/22213
* sparc.cc (Target_sparc): Fix incorrect register mask.
2017-09-22 Jim Wilson <jim.wilson@linaro.org>
* aarch64.cc (Target_aarch64::aarch64_info): Set

View File

@ -4164,7 +4164,7 @@ Target_sparc<size, big_endian>::Relocate::relax_call(
if (op3 != 0x3d)
{
// First check RS1
reg = (delay_insn >> 14) & 0x15;
reg = (delay_insn >> 14) & 0x1f;
if (reg == 15)
return;