This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Silly bug in tc-i386.c
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 2 Jul 2003 16:13:43 -0400
- Subject: Silly bug in tc-i386.c
In tc_x86_regname_to_dw2regnum:
regnames_count = sizeof (regnames_32);
for (regnum = 0; regnum < regnames_count; regnum++)
if (strcmp (regname, regnames[regnum]) == 0)
return regnum;
There's a missing '/ sizeof (regnames[0])' there...
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer