summaryrefslogtreecommitdiffstats
path: root/runtime/sym.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/sym.c')
-rw-r--r--runtime/sym.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/runtime/sym.c b/runtime/sym.c
index 344df373..6e686051 100644
--- a/runtime/sym.c
+++ b/runtime/sym.c
@@ -18,7 +18,6 @@
String _stp_symbol_sprint (String str, unsigned long address)
{
-#ifdef HAS_LOOKUP
char *modname;
const char *name;
unsigned long offset, size;
@@ -34,9 +33,6 @@ String _stp_symbol_sprint (String str, unsigned long address)
else
_stp_sprintf (str, " : %s+%#lx/%#lx", name, offset, size);
}
-#else
- _stp_sprintf (str, "0x%lx", address);
-#endif
return str;
}