Fix PR ld/24574
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 5 Sep 2019 16:23:37 +0000 (18:23 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 5 Sep 2019 16:23:37 +0000 (18:23 +0200)
commitde07a745805b28ed2c973635752719c4a6a32b1d
tree64c4b7e469a0fd5746b03f777c4e35937dc0e9d4
parent30331a6ca014f6b51b17627aa968c6b79627ce21
Fix PR ld/24574

This restores a line that has been dropped when the auto-import feature
of the PE-COFF linker was overhauled about one year.  It is necessary
for GDB to properly resolve extern symbol in DLLs.

ld/ChangeLog
* pe-dll.c (pe_find_data_imports): Replace again the original name
of the undefined symbol with the __imp_ prefixed one after it is
resolved.
ld/ChangeLog
ld/pe-dll.c