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>
master
Mike Frysinger 16 years ago
parent 59f0978a7e
commit a75fa148d6
  1. 2
      cpu/blackfin/traps.c

@ -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;

Loading…
Cancel
Save