aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2009-01-23 14:56:38 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2009-01-23 14:56:38 +0000
commit750bdd572d62dde1688ba1f42d380e33c0577212 (patch)
treef77b4149bcdd873f96c1a06b1afc587947ed0293 /gas
parent199114c25d5f48c6f616a7b071c17553eafab61b (diff)
downloadgdb-750bdd572d62dde1688ba1f42d380e33c0577212.zip
gdb-750bdd572d62dde1688ba1f42d380e33c0577212.tar.gz
gdb-750bdd572d62dde1688ba1f42d380e33c0577212.tar.bz2
* config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
arguments to macro_build to match format.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog19
-rw-r--r--gas/config/tc-mips.c8
2 files changed, 15 insertions, 12 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index e9b4dba..9b0ade4 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index bc62486..dd97c63 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -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