commit | a75fa148d60b1975403441e45565621bba50d2d9 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Tue Jan 06 10:00:48 2009 -0500 |
committer | Mike Frysinger <vapier@gentoo.org> | Mon Mar 23 15:14:54 2009 -0400 |
tree | 66a1cd68c7029dcdf6b282f08312d71168a56c7f | |
parent | 59f0978a7e78d20277ddbde7caf0ea877f3cfd98 [diff] |
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>
diff --git a/cpu/blackfin/traps.c b/cpu/blackfin/traps.c index a2c6f1e..2121b0e 100644 --- a/cpu/blackfin/traps.c +++ b/cpu/blackfin/traps.c
@@ -193,7 +193,7 @@ while (*sym) { sym_addr = simple_strtoul(sym, &esym, 16); - sym = esym + 1; + sym = esym; if (sym_addr > addr) break; *caddr = sym_addr;