This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[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


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

Attachment: mingw64_callapi.txt
Description: Text document


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