* config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
authorThiemo Seufer <ths@networkno.de>
Wed, 15 Oct 2003 11:12:53 +0000 (11:12 +0000)
committerThiemo Seufer <ths@networkno.de>
Wed, 15 Oct 2003 11:12:53 +0000 (11:12 +0000)
Fix indentation. Better error message.

gas/ChangeLog
gas/config/tc-mips.c

index 39222d3f424fd132c8671a22ac64741446fb020b..a4d98de702458cf7604bc75dd6f5e4fdc9b02269 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
+       Fix indentation. Better error message.
+
 2003-10-14  Bob Wilson  <bob.wilson@acm.org>
 
        * config/tc-xtensa.c (xtensa_create_property_segments): Remove bfd
index cd1b424a5d778f3d2cbf3d6f1cd3a676d365eb62..a7767659e4ced21501a5cba8e1f2875167bec71f 100644 (file)
@@ -3271,10 +3271,10 @@ macro_build_ldst_constoffset (char *place, int *counter, expressionS *ep,
                  == ~((bfd_vma) 0x7fffffff)))
     {
       if (ep->X_add_number & ~((bfd_vma) 0xffffffff))
-       as_bad (_("too large constant specified"));
+       as_bad (_("constant too large"));
 
-    ep->X_add_number = (((ep->X_add_number & 0xffffffff) ^ 0x80000000)
-                       - 0x80000000);
+      ep->X_add_number = (((ep->X_add_number & 0xffffffff) ^ 0x80000000)
+                         - 0x80000000);
     }
 
   /* Right now, this routine can only handle signed 32-bit contants.  */
@@ -3435,10 +3435,10 @@ load_register (int *counter, int reg, expressionS *ep, int dbl)
                      == ~((bfd_vma) 0x7fffffff)))
        {
          if (ep->X_add_number & ~((bfd_vma) 0xffffffff))
-           as_bad (_("too large constant specified"));
+           as_bad (_("constant too large"));
 
-       ep->X_add_number = (((ep->X_add_number & 0xffffffff) ^ 0x80000000)
-                           - 0x80000000);
+         ep->X_add_number = (((ep->X_add_number & 0xffffffff) ^ 0x80000000)
+                             - 0x80000000);
        }
 
       if (IS_SEXT_16BIT_NUM (ep->X_add_number))
@@ -5946,10 +5946,10 @@ macro (struct mips_cl_insn *ip)
                == ~((bfd_vma) 0x7fffffff)))
        {
          if (offset_expr.X_add_number & ~((bfd_vma) 0xffffffff))
-           as_bad (_("too large constant specified"));
+           as_bad (_("constant too large"));
 
-       offset_expr.X_add_number = (((offset_expr.X_add_number & 0xffffffff)
-                                    ^ 0x80000000) - 0x80000000);
+         offset_expr.X_add_number = (((offset_expr.X_add_number & 0xffffffff)
+                                      ^ 0x80000000) - 0x80000000);
        }
 
       /* For embedded PIC, we allow loads where the offset is calculated