ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/09/26/00:43:41

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <20010926044331.50599.qmail@web14501.mail.yahoo.com>
Date: Wed, 26 Sep 2001 14:43:31 +1000 (EST)
From: =?iso-8859-1?q?Danny=20Smith?= <danny_r_smith_2001 AT yahoo DOT co DOT nz>
Subject: Fwd: PATCH ix86_attribute_table (GCC 3.1)
To: cygwin-apps <cygwin-apps AT cygwin DOT com>,
mingw-dvlpr <mingw-dvlpr AT lists DOT sourceforge DOT net>
MIME-Version: 1.0

FYI 

--- Danny Smith <danny_r_smith_2001 AT yahoo DOT co DOT nz> wrote: > Date: Wed, 26
Sep 2001 14:17:11 +1000 (EST)
> From: Danny Smith <danny_r_smith_2001 AT yahoo DOT co DOT nz>
> Subject: PATCH ix86_attribute_table
> To: GCC Patches <gcc-patches AT gcc DOT gnu DOT org>
> 
> i386 attributes dllimport, dllexport and shared  have no 
> arguments. This patch corrects ix86_attribute_table.
> 
> Tested with bootstrap on i386-pc-mingw32 host.
> 
> ChangeLog
> 
> 	2001-09-26  Danny Smith  <danny_r_smith_2001 AT yahoo DOT co DOT nz>
> 	
> 	* config/i386/i386.c (ix86_attribute_table): Correct 
>         min_len, max_len fields for dllimport, dllexport and shared.
> 
> 
> --- i386.c.orig	Wed Sep 26 15:53:16 2001
> +++ i386.c	Wed Sep 26 15:53:48 2001
> @@ -1033,9 +1033,9 @@ const struct attribute_spec ix86_attribu
>       passed in registers.  */
>    { "regparm",   1, 1, false, true,  true, 
> ix86_handle_regparm_attribute },
>  #ifdef TARGET_DLLIMPORT_DECL_ATTRIBUTES
> -  { "dllimport", 1, 1, false, false, false,
> ix86_handle_dll_attribute
> },
> -  { "dllexport", 1, 1, false, false, false,
> ix86_handle_dll_attribute
> },
> -  { "shared",    1, 1, true,  false, false,
> ix86_handle_shared_attribute },
> +  { "dllimport", 0, 0, false, false, false,
> ix86_handle_dll_attribute
> },
> +  { "dllexport", 0, 0, false, false, false,
> ix86_handle_dll_attribute
> },
> +  { "shared",    0, 0, true,  false, false,
> ix86_handle_shared_attribute },
>  #endif
>    { NULL,        0, 0, false, false, false, NULL }
>  };
> 
> 
> 
> http://travel.yahoo.com.au - Yahoo! Travel
> - Got Itchy feet? Get inspired!
>  


http://travel.yahoo.com.au - Yahoo! Travel
- Got Itchy feet? Get inspired!

- Raw text -


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