{patch bfd/ld/binutils]: Adjust calling convention of x64 windows to non-leading underscore

Kai Tietz ktietz70@googlemail.com
Fri Apr 23 14:32:00 GMT 2010


2010/4/23 Doug Semler <dougsemler@gmail.com>:
> On Fri, Apr 23, 2010 at 10:20 AM, Kai Tietz <ktietz70@googlemail.com> wrote:
>> 2010/4/23 Pedro Alves <pedro@codesourcery.com>:
>>> On Friday 23 April 2010 10:14:12, Kai Tietz wrote:
>>>> Also this patch cleans up by the internal symbol-prefixes "__nm_",
>>>> "__imp_", and "___imp_", which don't need to be underscore dependent
>>>> as prefix itself.
>>>
>>> Do I need to worry about that being an incompatible change for
>>> arm-wince-pe/arm-mingw32ce (cegcc), which isn't underscored?
>>>
>>> --
>>> Pedro Alves
>>>
>>
>> Hmm, I don't expect this. I ran a cross-compiler check of testsuite
>> here, but I wouldn't see here an issue AFAICT. But of course it would
>> be good if you could cross-check this, too.
>>
>
>
> Kai, correct me if I'm wrong, but IIRC this particular portion of the
> patch only fixes problems when the linker needs to generate
> auto-import data thunks from linked DLLs, right?
>
Right. It takes care that __imp_/__nm_-symbols are consistent to
pe.em, pep.em, and pe-dll.c

Kai


-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination



More information about the Binutils mailing list