aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2013-08-05 08:31:48 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2013-08-05 08:31:48 +0000
commitda8bca9157fe449b3226ec603ea71c1631c0bb1e (patch)
treeba7c380eefea89691a11ccba2d65975491819213
parentb3ce1f8a94ae8a92e82366c2cdf763b94e08bb83 (diff)
downloadgdb-da8bca9157fe449b3226ec603ea71c1631c0bb1e.zip
gdb-da8bca9157fe449b3226ec603ea71c1631c0bb1e.tar.gz
gdb-da8bca9157fe449b3226ec603ea71c1631c0bb1e.tar.bz2
gas/
* config/tc-mips.c (mips_lookup_insn): Make length and opend signed.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-mips.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 21eab91..042f9de 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2013-08-05 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * config/tc-mips.c (mips_lookup_insn): Make length and opend signed.
+
2013-08-04 Jürgen Urban <JuergenUrban@gmx.de>
Richard Sandiford <rdsandiford@googlemail.com>
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 4255f93..1c79634 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -12307,11 +12307,11 @@ mips16_macro (struct mips_cl_insn *ip)
static struct mips_opcode *
mips_lookup_insn (struct hash_control *hash, const char *start,
- unsigned int length, unsigned int *opcode_extra)
+ ssize_t length, unsigned int *opcode_extra)
{
char *name, *dot, *p;
unsigned int mask, suffix;
- size_t opend;
+ ssize_t opend;
struct mips_opcode *insn;
/* Make a copy of the instruction so that we can fiddle with it. */