diff options
author | Paul Brook <paul@codesourcery.com> | 2010-03-01 03:55:48 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2010-03-01 04:39:50 +0000 |
commit | 9f9f030928a3d17ea8b87905fafc1e447328df2d (patch) | |
tree | a4d9de05081b0d3663d8fc93b43f536ec0908f02 /disas.h | |
parent | 35bed8ee918b519caca37f99f741b2740a040da3 (diff) |
Disassembler symbol lookup fix
Fix function signature for userspace disassembler symbol lookup.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'disas.h')
-rw-r--r-- | disas.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -22,7 +22,11 @@ struct syminfo; struct elf32_sym; struct elf64_sym; +#if defined(CONFIG_USER_ONLY) +typedef const char *(*lookup_symbol_t)(struct syminfo *s, target_ulong orig_addr); +#else typedef const char *(*lookup_symbol_t)(struct syminfo *s, target_phys_addr_t orig_addr); +#endif struct syminfo { lookup_symbol_t lookup_symbol; |