PATCH ix86_attritubute_table
Danny Smith
danny_r_smith_2001@yahoo.co.nz
Tue Sep 25 21:17:00 GMT 2001
i386 attributes dllimport, dllexport and shared attributes 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@yahoo.co.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!
More information about the Gcc-patches
mailing list