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: List-Archive: List-Post: List-Help: , 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?= Subject: Fwd: PATCH ix86_attribute_table (GCC 3.1) To: cygwin-apps , mingw-dvlpr MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit FYI --- Danny Smith wrote: > Date: Wed, 26 Sep 2001 14:17:11 +1000 (EST) > From: Danny Smith > Subject: PATCH ix86_attribute_table > To: GCC Patches > > 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 > > * 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!