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: [patch]: fastcall/stdcall and import libraries in ld


2009/11/13 Kai Tietz <ktietz70@googlemail.com>:
> Hi Dave,
>
> I adjusted the patch and add testcase for it.
>
> ChangLog for ld
>
> 2009-11-13 ?Kai Tietz ?<kai.tietz@onevision.com>
>
> ? ? ? ?* pe-dll.c (pe_undef_alias_cdecl_match): New function.
> ? ? ? ?(pe_find_cdecl_alias_match): New function.
> ? ? ? ?(pe_process_import_defs): Add matching for import symbols
> ? ? ? ?declared as cdecl for fastcall/stdcall.
> ? ? ? ?* emultempl/pe.em (pe_undef_cdecl_match): Treat fastcall
> ? ? ? ?symbols, too.
> ? ? ? ?(pe_fixup_stdcalls): Likewise.
> ? ? ? ?(gld_XXX_after_open): Redo scanning for imported
> ? ? ? ?fastcall/stdcall symbols as cdecl one.
> ? ? ? ?* emultempl/pep.em (pep_undef_cdecl_match): Treat fastcall
> ? ? ? ?symbols, too.
> ? ? ? ?(pep_fixup_stdcalls): Likewise.
> ? ? ? ?(gld_XXX_after_open): Redo scanning for imported
> ? ? ? ?fastcall/stdcall symbols as cdecl one.
>
> 2009-11-13 ?Kai Tietz ?<kai.tietz@onevision.com>
>
> ? ? ? ?* ld-pe/direct2_client.c: New file.
> ? ? ? ?* ld-pe/direct2_dll.c: Likewise.
> ? ? ? ?* ld-pe/direct2_dll.def: Likewise.
> ? ? ? ?* ld-pe/pe-run2.exp: Likewise.
>
>
> Tested for i686-pc-mingw32, x86_64-pc-mingw32, and i686-pc-cygwin. Ok for apply?

I attached old patch file (was a typo in pep.em). So here is the current one.

Kai


(For Kai's diary: Never change a minor thing after testing a patch)
-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination

Attachment: fastcall.diff
Description: Binary data


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