aboutsummaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-02-11 16:09:30 +0000
committerNick Clifton <nickc@redhat.com>2005-02-11 16:09:30 +0000
commitbc18c937be1315894f181fa276fd6c221d205528 (patch)
tree190875ea9aacc2cf4bdf9821ff918eca83499497 /cpu
parent5a84f3e0d225c671f13d8571f035283012dc6448 (diff)
downloadgdb-bc18c937be1315894f181fa276fd6c221d205528.zip
gdb-bc18c937be1315894f181fa276fd6c221d205528.tar.gz
gdb-bc18c937be1315894f181fa276fd6c221d205528.tar.bz2
Fix compile time warning building iq2000-asm.c
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ChangeLog5
-rw-r--r--cpu/iq2000.opc4
2 files changed, 7 insertions, 2 deletions
diff --git a/cpu/ChangeLog b/cpu/ChangeLog
index b954059..868fc99 100644
--- a/cpu/ChangeLog
+++ b/cpu/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-11 Nick Clifton <nickc@redhat.com>
+
+ * iq2000.opc (parse_jtargq10): Change type of valuep argument to
+ 'bfd_vma *' in order avoid compile time warning message.
+
2005-01-28 Hans-Peter Nilsson <hp@axis.com>
* cris.cpu (mstep): Add missing insn.
diff --git a/cpu/iq2000.opc b/cpu/iq2000.opc
index 3b7620f..a6f8bbe 100644
--- a/cpu/iq2000.opc
+++ b/cpu/iq2000.opc
@@ -172,7 +172,7 @@ parse_jtargq10 (cd, strp, opindex, reloc, type_addr, valuep)
int opindex;
int reloc;
enum cgen_parse_operand_result *type_addr;
- unsigned long *valuep;
+ bfd_vma *valuep;
{
const char *errmsg;
bfd_vma value;
@@ -182,7 +182,7 @@ parse_jtargq10 (cd, strp, opindex, reloc, type_addr, valuep)
&result_type, &value);
if (errmsg == NULL && result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
{
- /* check value is within 23-bits (remembering that 2-bit shift right will occur) */
+ /* Check value is within 23-bits (remembering that 2-bit shift right will occur). */
if (value > 0x7fffff)
return _("21-bit offset out of range");
}