This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PE-COFF and import tables


> 
> So I have tested after having modified mingw/Makefile.in and now I get
the
> same name :
> 
>  0001a050       0001a12c 00000000 00000000 0001a94c 0001a298
> 
>         DLL Name: COREDLL.dll
>         vma:  Hint/Ord Member-Name Bound-To
>         1a5ac       4  _fileno
>         1a5b6      19  _strdup
> 
>  0001a064       0001a138 00000000 00000000 0001aa1c 0001a2a4
> 
>         DLL Name: COREDLL.dll
>         vma:  Hint/Ord Member-Name Bound-To
>         1a5c0     174  CreateFileW
>         1a5ce     240  DeleteCriticalSection
>         1a5e6     243  DeleteFileW
>         ...
>         ...            _strdup
>  
> 
> 
> but still in two different entries.
> 
> 
> Then I have removed the /* #  define strdup(s) _strdup(s) */ in Evil.h
and 
> now I still have two entries but _strdup is only referenced in first one.
> So from what I understand I shouldn't link with libceoldname because it's
> the reason
> I have two entries.


Tried to remove -lceoldname in compiler spec but I get some errors when
compiling libstdc++
because of fileno not defined.
So I still believe there is something wrong in the way dll are generated
with gnu tools.
In a dll it shouldn't be allowed to have two different entries referencing
the same DLL.





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]