Blackfin: simplify symbol_lookup() a bit

No need to skip a byte as the symbol table handles this.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2009-01-06 10:00:48 -05:00
parent 59f0978a7e
commit a75fa148d6

View File

@ -193,7 +193,7 @@ static const char *symbol_lookup(unsigned long addr, unsigned long *caddr)
while (*sym) {
sym_addr = simple_strtoul(sym, &esym, 16);
sym = esym + 1;
sym = esym;
if (sym_addr > addr)
break;
*caddr = sym_addr;