Mercurial > hg > CbC > CbC_gcc
diff gcc/config/sh/symbian-base.c @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | 77e2b8dfacca |
children |
line wrap: on
line diff
--- a/gcc/config/sh/symbian-base.c Tue May 25 18:58:51 2010 +0900 +++ b/gcc/config/sh/symbian-base.c Tue Mar 22 17:18:12 2011 +0900 @@ -1,6 +1,6 @@ /* Routines for GCC for a Symbian OS targeted SH backend, shared by both the C and C++ compilers. - Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. + Copyright (C) 2004, 2005, 2007, 2009, 2010 Free Software Foundation, Inc. Contributed by RedHat. Most of this code is stolen from i386/winnt.c. @@ -30,7 +30,7 @@ #include "tree.h" #include "expr.h" #include "tm_p.h" -#include "toplev.h" +#include "diagnostic-core.h" #include "sh-symbian.h" /* Return nonzero if SYMBOL is marked as being dllexport'd. */ @@ -116,7 +116,7 @@ { /* Already done, but do a sanity check to prevent assembler errors. */ if (!DECL_EXTERNAL (decl) || !TREE_PUBLIC (decl)) - error ("failure in redeclaration of %q+D: dllimport'd symbol lacks external linkage", + error ("failure in redeclaration of %q+D: dllimport%'d symbol lacks external linkage", decl); } else