Fix for PR12542 - if check_range is passed a constant for a shifted operand,
authorNick Clifton <nickc@redhat.com>
Thu, 11 Jun 1998 23:51:16 +0000 (23:51 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 11 Jun 1998 23:51:16 +0000 (23:51 +0000)
shift the constant first.

gas/ChangeLog

index 731ed0f..73ae75f 100644 (file)
@@ -3,6 +3,9 @@ Thu Jun 11 08:56:46 1998  Nick Clifton  <nickc@cygnus.com>
        * config/tc-d30v.c (md_apply_fix3): Catch BFD_RELOC_8,
        BFD_RELOC_16, BFD_RELOC_64 and issue appropriate error messages.  
 
+       (check_range): If the operand is shifted, then shift the number
+       before checking its range.
+
        * write.c (adjust_reloc_syms): Add more checks for NULL pointers. 
 
        * config/tc-v850.c (v850_comm): Set SEC_COMMON bit on special