Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com Message-ID: <20020412204946.94795.qmail@web14504.mail.yahoo.com> Date: Sat, 13 Apr 2002 06:49:46 +1000 (EST) From: =?iso-8859-1?q?Danny=20Smith?= Subject: Fwd: Updates to x86-Interix config files To: cygwin-apps AT cygwin DOT com, mingw-dvlpr AT lists DOT sourceforge DOT net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I think that this (return 8 byte structures in registers) should also go in mingw32.h config file for GCC. I'm not sure about cygwin.h ldiv() returns an 8-byte structure. I can't think of any others, but if we're serious about compatability with MS object files, this would seema good thing. Danny --- Richard Kenner wrote: > Date: Fri, 12 Apr 02 15:46:22 EDT > From: kenner AT vlsi1 DOT ultra DOT nyu DOT edu (Richard Kenner) > To: gcc-patches AT gcc DOT gnu DOT org > Subject: Updates to x86-Interix config files > > I applied these to the 3.1 branch and the trunk. > > 2002-04-12 Douglas B Rupp > > * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define. > (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define. > (DEFAULT_PCC_STRUCT_RETURN): Define as 0. > * config/i386/t-interix (USER_H): Remove. > > *** config/i386/i386-interix.h 16 Dec 2001 15:43:40 -0000 1.23 > --- config/i386/i386-interix.h 12 Apr 2002 19:41:42 -0000 > *** 422,423 **** > --- 423,432 ---- > #define NO_IMPLICIT_EXTERN_C > > + /* MSVC returns structs of up to 8 bytes via registers. */ > + > + #define DEFAULT_PCC_STRUCT_RETURN 0 > + > + #undef RETURN_IN_MEMORY > + #define RETURN_IN_MEMORY(TYPE) \ > + (TYPE_MODE (TYPE) == BLKmode || \ > + (AGGREGATE_TYPE_P (TYPE) && int_size_in_bytes(TYPE) > 8 )) http://messenger.yahoo.com.au - Yahoo! Messenger - A great way to communicate long-distance for FREE!