summaryrefslogtreecommitdiff
path: root/src/output/pe_output_image_symbols.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/pe_output_image_symbols.c')
-rw-r--r--src/output/pe_output_image_symbols.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/pe_output_image_symbols.c b/src/output/pe_output_image_symbols.c
index 7a71b27..6919e5a 100644
--- a/src/output/pe_output_image_symbols.c
+++ b/src/output/pe_output_image_symbols.c
@@ -33,13 +33,13 @@ int pe_output_image_symbols(
dash = "- ";
}
- mark = (char *)meta->r_image.addr;
+ mark = (char *)meta->r_image.map_addr;
symtbl = (struct pe_raw_coff_symbol *)(mark + meta->m_coff.cfh_ptr_to_sym_tbl);
for (i=0; i<meta->m_coff.cfh_num_of_syms; i++) {
pe_read_coff_symbol(
&symtbl[i],&symrec,
- &meta->m_coff,meta->r_image.addr);
+ &meta->m_coff,meta->r_image.map_addr);
if (fprintf(fout,"%s%s\n",
dash,