* config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
authorAndreas Schwab <schwab@linux-m68k.org>
Fri, 23 Jan 2009 14:56:38 +0000 (14:56 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Fri, 23 Jan 2009 14:56:38 +0000 (14:56 +0000)
arguments to macro_build to match format.

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

index e9b4dba79c892647989e31bf8739af6273cbc22a..9b0ade4cd829ade428ecabc6d565ebfbf53ed5f1 100644 (file)
@@ -1,5 +1,8 @@
 2009-01-23  Andreas Schwab  <schwab@suse.de>
 
+       * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
+       arguments to macro_build to match format.
+
        * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
        * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
 
        * config/tc-ppc.h: Likewise.
        * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
        * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
-        DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
-        New file with new macros
-        * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
-        macros.
+       DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
+       New file with new macros
+       * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
+       macros.
 
 2009-01-15  Nick Clifton  <nickc@redhat.com>
 
        instructions before generating a Thumb2 nop.
 
 2009-01-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
-       
+
        * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
 
 2009-01-12  Alan Modra  <amodra@bigpond.net.au>
        * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
        support.  Don't swap REG and NDS for FMA.
 
-2009-01-02  Matthias Klose  <doko@ubuntu.com> 
+2009-01-02  Matthias Klose  <doko@ubuntu.com>
 
-       * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf 
-       behaviour. 
+       * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
+       behaviour.
 
 For older changes see ChangeLog-2008
 \f
index bc6248672d75ac028809e8863536de29831b611e..dd97c63156ba89f5f33cbaf97c5ae7ea47ddf32a 100644 (file)
@@ -5241,8 +5241,8 @@ macro (struct mips_cl_insn *ip)
            s = "dinsm";
            fmt = "t,r,+A,+F";
          }
-       macro_build ((expressionS *) NULL, s, fmt, treg, sreg, pos,
-                    pos + size - 1);
+       macro_build ((expressionS *) NULL, s, fmt, treg, sreg, (int) pos,
+                    (int) (pos + size - 1));
       }
       break;
 
@@ -7637,7 +7637,7 @@ macro2 (struct mips_cl_insn *ip)
          && imm_expr.X_add_number < 512)
        {
          macro_build (NULL, "seqi", "t,r,+Q", dreg, sreg,
-                      imm_expr.X_add_number);
+                      (int) imm_expr.X_add_number);
          break;
        }
       if (imm_expr.X_op == O_constant
@@ -7799,7 +7799,7 @@ macro2 (struct mips_cl_insn *ip)
          && imm_expr.X_add_number < 512)
        {
          macro_build (NULL, "snei", "t,r,+Q", dreg, sreg,
-                      imm_expr.X_add_number);
+                      (int) imm_expr.X_add_number);
          break;
        }
       if (imm_expr.X_op == O_constant
This page took 0.035517 seconds and 4 git commands to generate.