This is the mail archive of the binutils@sources.redhat.com 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: dlltool -N [PATCH]


Shaun Jackman wrote:
> Notice that this still differs from your above example,
> __imp__gorgeous, which has an additional underscore.

Thanks for doing this; I understand the need for this now.

Sorry to draw this out, but I still don't quite understand why this is a
problem in the first place.  In
<http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/binutils/dlltool.c?rev=1.53&content-type=text/x-cvsweb-markup&cvsroot=src>
at asm_prefix(), note that ARM specifically does not have any "ASM
prefix," unlike i386.  Is this code inaccurate?  Or does the APCS-32 ABI
call for an underscore when arm-pe, in general, does not?  I was unable
to find any authoritative documentation on this.  Does someone know?

I notice that if I generate the import library using:
link /lib /machine:arm /subsystem:windowsce /def:elishacthbert.def
link does not create a leading underscore, so it would seem that there
is not supposed to be one.  Why does the compiler need one?  What does
Microsoft's crosscompiler do?

Aaron W. LaFramboise


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