Browse Source

* pe-dll.c (make_one): fix a typo in the __imp_ name decoration

for dll import libraries
binutils-2_11-branch
DJ Delorie 27 years ago
parent
commit
5b4cf3f497
  1. 5
      ld/ChangeLog
  2. 2
      ld/pe-dll.c

5
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

2
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);

Loading…
Cancel
Save