www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/04/12/16:50:07

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
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?= <danny_r_smith_2001 AT yahoo DOT co DOT nz>
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

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 AT vlsi1 DOT ultra DOT nyu DOT edu> 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  <rupp AT gnat DOT 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!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019