aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2000-07-13 00:51:40 +0000
committerDJ Delorie <dj@redhat.com>2000-07-13 00:51:40 +0000
commit5b4cf3f497bc6294cb2c2743de649ffaeff3a6d0 (patch)
treef584e925aaf46918c032d0accd38a6db510d7539 /ld
parent1a1404f11ef152b478c870d1231bc1990254597c (diff)
downloadgdb-5b4cf3f497bc6294cb2c2743de649ffaeff3a6d0.zip
gdb-5b4cf3f497bc6294cb2c2743de649ffaeff3a6d0.tar.gz
gdb-5b4cf3f497bc6294cb2c2743de649ffaeff3a6d0.tar.bz2
* pe-dll.c (make_one): fix a typo in the __imp_ name decoration
for dll import libraries
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/pe-dll.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 8d3e757..a347f2c 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
+
+ * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
+ for dll import libraries
+
2000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
* scripttempl/i386go32.sc: Support the g++ attribute init_priority in
diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index d028fd1..ad7b28a 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -1444,7 +1444,7 @@ make_one (exp, parent)
if (! exp->flag_data)
quick_symbol (abfd, U(""), exp->internal_name, "", tx, BSF_GLOBAL, 0);
quick_symbol (abfd, U("_head_"), dll_symname, "", UNDSEC, BSF_GLOBAL, 0);
- quick_symbol (abfd, U("__imp_"), exp->internal_name, "", id5, BSF_GLOBAL, 0);
+ quick_symbol (abfd, U("_imp__"), exp->internal_name, "", id5, BSF_GLOBAL, 0);
if (pe_dll_compat_implib)
quick_symbol (abfd, U("__imp_"), exp->internal_name, "",
id5, BSF_GLOBAL, 0);