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


On Sun, 10 May 2009 14:27:31 +0100, Pedro Alves <pedro@codesourcery.com>
wrote:
> On Sunday 10 May 2009 13:53:08, Vincent R. wrote:
>> In a dll it shouldn't be allowed to have two different entries
>> referencing
>> the same DLL.
>> 
> 
> You're claiming that for beauty sake, or because the loader doesn't like
> it?
> 

Actually first for beauty sake but I have a reason to do so, it's because
with wince things are not always working as it should and we have more
issues
than on desktop.I can talk about the fact that dll have still a problem to
be loaded
on Windows Mobile 6.1 and the natural thing to do when something is not
working is to
compare with native tools.
In this case when trying to compare both, it's really hard because you
dont'know what
parameters causes troubles.
On the contrary when things are pretty similar, finding problem is an easy
game.
But you are right in the sense of maybe problem I am facing has nothing to
do with import table.

> Does this load for you?
> 
> int main ()
> {
>    strdup ("foo");
>    _strdup ("foo");
> }

I don't know if it really loads but at least I don't see the usual error
message.
So in conclusion  I will try to rebuild efl framework and test again one
more time.
For now I am giving up the import table reason and I will try to find why
it doesnt' work.
But I still don't like the way dll are generated ;-)


 



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