This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch i386]: ICE's fix for call abi and dwarf23 output for x86_64-pc-mingw32 target
- From: "Kai Tietz" <ktietz70 at googlemail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 24 Mar 2008 16:26:14 +0100
- Subject: [patch i386]: ICE's fix for call abi and dwarf23 output for x86_64-pc-mingw32 target
Hallo,
This patch corrects the implementation of the calling abi of
x86_64-pc-mingw32 target. There were several mistakes about return
value and parameter handling. For more details about Win64 calling abi
see link in mingw-w64 Wiki
'http://mingw-w64.wiki.sourceforge.net/MinGW+x64+Software+convention'.
Additionally it fixes a problem for dwarf23 output in in cygming.h
ASM_OUTPUT_DWARF_OFFSET, which didn't handled 64-bit input sizes.
ChangeLog
2008-03-24 Kai Tietz <kai.tietz@onevision.com>
* gcc/config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Add 8 byte offsets
for 64-bit mingw.
* gcc/config/i386/i386.c (ix86_pass_by_reference): Corect calling abi
for 64-bit mingw.
(ix86_pass_by_reference): Likewise.
Cheers,
Kai