mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
Disassembler symbol lookup fix
Fix function signature for userspace disassembler symbol lookup. Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
parent
35bed8ee91
commit
9f9f030928
2 changed files with 6 additions and 2 deletions
|
|
@ -1448,10 +1448,10 @@ static void load_symbols(struct elfhdr *hdr, int fd)
|
|||
s->disas_num_syms = nsyms;
|
||||
#if ELF_CLASS == ELFCLASS32
|
||||
s->disas_symtab.elf32 = syms;
|
||||
s->lookup_symbol = (lookup_symbol_t)lookup_symbolxx;
|
||||
s->lookup_symbol = lookup_symbolxx;
|
||||
#else
|
||||
s->disas_symtab.elf64 = syms;
|
||||
s->lookup_symbol = (lookup_symbol_t)lookup_symbolxx;
|
||||
s->lookup_symbol = lookup_symbolxx;
|
||||
#endif
|
||||
s->next = syminfos;
|
||||
syminfos = s;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue