bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DLL replacement problem


From: N. Coesel
Subject: DLL replacement problem
Date: Mon, 03 May 2004 14:42:35 +0200

Hello,
I think I have found a problem with GNU ld version 2.13.90 20021005.
I have the following situation:
I have developed a DLL using Delphi. I can link this DLL to Delphi programs
and programs written using the DEV-C environment (Mingw32 gnu compiler
suite). So far no problem.
Now I have rewritten the DLL using DEV-C and compiled it using the Mingw32
gnu compiler. I expected to be able to replace the old DLL file with the
new DLL file. This is true for programs created with Delphi, but I cannot
do this for programs created with the Mingw32 compiler (which uses ld).
When a function is called, the function is not executed. Both DLLs are 100%
identical when it comes to the functions and their definitions, but the
order of the routines is different.
I think ld links a DLL by looking at the index instead of looking at the
function name, this would explain this behaviour.

Nico Coesel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]