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

Signed-off-by: Mike Frysinger <vap...@gentoo.org>
---
 cpu/blackfin/traps.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to