This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: [MinGW-dvlpr] Fwd: Updates to x86-Interix config files
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- To: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Cc: cygwin-apps at cygwin dot com, mingw-dvlpr at lists dot sourceforge dot net
- Date: Mon, 15 Apr 2002 07:19:36 -0400
- Subject: Re: [MinGW-dvlpr] Fwd: Updates to x86-Interix config files
- References: <20020412204946.94795.qmail@web14504.mail.yahoo.com>
Yes, so go for it.
Earnie.
Danny Smith wrote:
>
> 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 <kenner@vlsi1.ultra.nyu.edu> wrote: > Date: Fri, 12 Apr
> 02 15:46:22 EDT
> > From: kenner@vlsi1.ultra.nyu.edu (Richard Kenner)
> > To: gcc-patches@gcc.gnu.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 <rupp@gnat.com>
> >
> > * 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.
>
> <snip>
>
> >
> > *** 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!
>
> _______________________________________________
> MinGW-dvlpr mailing list
> MinGW-dvlpr@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com