* config/tc-sparc.c (in_signed_range): Use an unsigned type for
sign mask.
+2020-09-02 Alan Modra <amodra@gmail.com>
+
+ * config/tc-sparc.c (in_signed_range): Use an unsigned type for
+ sign mask.
+
2020-09-02 Alan Modra <amodra@gmail.com>
* config/tc-nios2.c (md_apply_fix): Avoid too large shift.
0xffffffff is always considered -1 on sparc32. */
if (sparc_arch_size == 32)
{
- bfd_signed_vma sign = (bfd_signed_vma) 1 << 31;
+ bfd_vma sign = (bfd_vma) 1 << 31;
val = ((val & U0xffffffff) ^ sign) - sign;
}
if (val > max)