From: Cary Coutant Date: Tue, 26 Sep 2017 14:33:04 +0000 (-0700) Subject: Fix incorrect register mask. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=00956d3a8ab1b56fcdf63aee4ed5c5a1d46a7a48;p=binutils-gdb.git Fix incorrect register mask. PR gold/22213 * sparc.cc (Target_sparc): Fix incorrect register mask. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index 0ac7e9e3a6d..697a40ade1a 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2017-09-26 Cary Coutant + + PR gold/22213 + * sparc.cc (Target_sparc): Fix incorrect register mask. + 2017-09-22 Jim Wilson * aarch64.cc (Target_aarch64::aarch64_info): Set diff --git a/gold/sparc.cc b/gold/sparc.cc index 54c7c334984..965d9939aea 100644 --- a/gold/sparc.cc +++ b/gold/sparc.cc @@ -4164,7 +4164,7 @@ Target_sparc::Relocate::relax_call( if (op3 != 0x3d) { // First check RS1 - reg = (delay_insn >> 14) & 0x15; + reg = (delay_insn >> 14) & 0x1f; if (reg == 15) return;