Re: [patch i386 windows]: Fix for PR/56975

2013-05-09 Thread Richard Henderson
On 05/08/2013 11:41 AM, Kai Tietz wrote: > 2013-05-08 Kai Tietz > > PR target/56975 > * config/i386/cygming.h (TARGET_PECOFF): Define as true. > * config/i386/i386.h (TARGET_PECOFF): Define by default > as false. > (PIC_OFFSET_TABLE_REGNUM): Use TARGET_PECOFF. > * config

[patch i386 windows]: Fix for PR/56975

2013-05-08 Thread Kai Tietz
Hi, initial patch for supporting x64 add some checks for MS_ABI. That caused for 32-bit cygwin to some regression due cygwin-32 uses SYSV_ABI as default ABI. So I introduce in this patch the define TARGET_PECOFF to indicate if targets use pe-coff or ELF-object/image sematics. This approach has a