X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fconfig%2Fmcore%2Fmcore.h;h=dde4e093c50a9c94de22ebbe3814c34aae50c2a8;hb=3c5c992fb35721740819b519e532b3f3e244e323;hp=b800a9326590ef4828e7028cea0e6b27155d032f;hpb=875a01c6d7a073b1ec1b9ecf9d27be2a15e2e3c1;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/config/mcore/mcore.h b/gcc/config/mcore/mcore.h index b800a932659..dde4e093c50 100644 --- a/gcc/config/mcore/mcore.h +++ b/gcc/config/mcore/mcore.h @@ -35,19 +35,11 @@ merge_decl_attributes. */ #define TARGET_DLLIMPORT_DECL_ATTRIBUTES -/* Support the __declspec keyword by turning them into attributes. - We currently only support: dllexport and dllimport. - Note that the current way we do this may result in a collision with - predefined attributes later on. This can be solved by using one attribute, - say __declspec__, and passing args to it. The problem with that approach - is that args are not accumulated: each new appearance would clobber any - existing args. */ #define TARGET_CPU_CPP_BUILTINS() \ do \ { \ builtin_define ("__mcore__"); \ builtin_define ("__MCORE__"); \ - builtin_define ("__declspec(x)=__attribute__((x))"); \ if (TARGET_LITTLE_END) \ builtin_define ("__MCORELE__"); \ else \