2009-11-15 Kai Tietz <kai.tietz@onevision.com>
authorKai Tietz <kai.tietz@onevision.com>
Sun, 15 Nov 2009 07:52:45 +0000 (07:52 +0000)
committerKai Tietz <kai.tietz@onevision.com>
Sun, 15 Nov 2009 07:52:45 +0000 (07:52 +0000)
commit8a9eab9b5ee88bda4d83a237e3a3c0723530a51e
tree75ee2031c97719adc6fd7cb6001988d9b5b06937
parent213fc0adc404177897e213e99b8f231dd10d9ead
2009-11-15  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-15  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.
ld/ChangeLog
ld/emultempl/pe.em
ld/emultempl/pep.em
ld/pe-dll.c
ld/testsuite/ChangeLog
ld/testsuite/ld-pe/direct2_client.c [new file with mode: 0644]
ld/testsuite/ld-pe/direct2_dll.c [new file with mode: 0644]
ld/testsuite/ld-pe/direct2_dll.def [new file with mode: 0644]
ld/testsuite/ld-pe/pe-run2.exp [new file with mode: 0644]