aboutsummaryrefslogtreecommitdiff
path: root/ld/pe-dll.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/pe-dll.c')
-rw-r--r--ld/pe-dll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index 72444c0..d2f77f3 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -268,7 +268,7 @@ process_def_file (abfd, info)
}
}
- e = pe_def_file->exports; /* convenience */
+ e = pe_def_file->exports; /* convenience, but watch out for it changing */
exported_symbol_offsets = (bfd_vma *) xmalloc (NE * sizeof (bfd_vma));
exported_symbol_sections = (struct sec **) xmalloc (NE * sizeof (struct sec *));
@@ -859,7 +859,7 @@ pe_dll_generate_def_file (pe_out_def_filename)
quoteput (im->internal_name, out, 0);
fprintf (out, " = ");
}
- quoteput (im->module, out, 0);
+ quoteput (im->module->name, out, 0);
fprintf (out, ".");
if (im->name)
quoteput (im->name, out, 0);