Re: [patch i386]: Allow attribute ms_abi/sysv_abi for 32-bit

2011-07-27 Thread Richard Henderson
On 07/27/2011 02:12 AM, Kai Tietz wrote: > 2011-07-27 Kai Tietz > > * config/i386/i386.c (ix86_option_override_internal): Allow -mabi > for 32-bit, too. > (ix86_handle_abi_attribute): Allow function attributes ms_abi/sysv_abi > in 32-bit mode, too. > * do

[patch i386]: Allow attribute ms_abi/sysv_abi for 32-bit

2011-07-27 Thread Kai Tietz
Hello, this patch allows the function attributes sysv_abi/ms_abi also for 32-bit. Additionally it allows the switch -mabi for 32-bit i386 targets, too. This patch completes the GNU/MS abi switching support for 32-bit. Main difference for 32-bit is the caller/callee pops hidden aggregate pointe