PR target/40636
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Jul 2009 22:52:57 +0000 (22:52 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Jul 2009 22:52:57 +0000 (22:52 +0000)
* config/i386/msformat-c.c (mingw_format_attributes): Declare as
EXPORTED_CONST.
(mingw_format_attribute_overrides): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149243 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/msformat-c.c

index 6d96786..5e51659 100644 (file)
@@ -1,3 +1,10 @@
+2009-07-04  Ian Lance Taylor  <iant@google.com>
+
+       PR target/40636
+       * config/i386/msformat-c.c (mingw_format_attributes): Declare as
+       EXPORTED_CONST.
+       (mingw_format_attribute_overrides): Likewise.
+
 2009-07-04  Jakub Jelinek  <jakub@redhat.com>
 
        PR debug/40596
index dec8f40..d7eb42d 100644 (file)
@@ -145,7 +145,7 @@ static const format_char_info ms_time_char_table[] =
   { NULL,              0, STD_C89, NOLENGTHS, NULL, NULL, NULL }
 };
 
-const format_kind_info mingw_format_attributes[3] =
+EXPORTED_CONST format_kind_info mingw_format_attributes[3] =
 {
   { "ms_printf",   ms_printf_length_specs,  ms_print_char_table, " +#0-'", NULL,
     ms_printf_flag_specs, ms_printf_flag_pairs,
@@ -167,7 +167,7 @@ const format_kind_info mingw_format_attributes[3] =
 };
 
 /* Default overrides for printf, scanf and strftime.  */
-const target_ovr_attr mingw_format_attribute_overrides[4] =
+EXPORTED_CONST target_ovr_attr mingw_format_attribute_overrides[4] =
 {
   { "ms_printf", "printf" },
   { "ms_scanf", "scanf" },