* config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast

arguments to macro_build to match format.
This commit is contained in:
Andreas Schwab 2009-01-23 14:56:38 +00:00
parent 199114c25d
commit 750bdd572d
2 changed files with 15 additions and 12 deletions

View 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.
@ -93,10 +96,10 @@
* 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>
@ -105,7 +108,7 @@
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>
@ -172,10 +175,10 @@
* 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

View 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