* tekhex.c (getvalue): Fix thinko in test for correct extraction
of value.
(getsym): Return false if there was not enough data to extract the
symbol.
+
+ * tekhex.c (getvalue): Fix thinko in test for correct extraction
+ of value.
+ (getsym): Return false if there was not enough data to extract the
+ symbol.
+
* elf32-moxie.c (ELF_MACHINE_ALT1): Define.
*srcp = src;
*valuep = value;
- return len == 0;
+ return len == -1U;
}
static bfd_boolean
dstp[i] = 0;
*srcp = src + i;
*lenp = len;
- return TRUE;
+ return i == len;
}
static struct data_struct *