aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <danny_r_smith_2001@yahoo.co.nz>2001-10-10 00:20:11 +0000
committerDJ Delorie <dj@gcc.gnu.org>2001-10-09 20:20:11 -0400
commit3da1eb0bd641fea42c28c268487b05e86fcc2b7f (patch)
tree9b62a636d29b3b9111aa910c0cd66fd82400718b
parent0e4e9e8f54015afd435f754d2ae5464e4a9eade3 (diff)
downloadgcc-3da1eb0bd641fea42c28c268487b05e86fcc2b7f.zip
gcc-3da1eb0bd641fea42c28c268487b05e86fcc2b7f.tar.gz
gcc-3da1eb0bd641fea42c28c268487b05e86fcc2b7f.tar.bz2
i386.c (ix86_attribute_table): Correct min_len, max_len fields for dllimport, dllexport and shared.
* config/i386/i386.c (ix86_attribute_table): Correct min_len, max_len fields for dllimport, dllexport and shared. From-SVN: r46137
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2c7593d..4606ba7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-09 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.
+
2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
* doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 933459a..f5110d5 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -1061,9 +1061,9 @@ const struct attribute_spec ix86_attribute_table[] =
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 }
};