re PR target/9295 ([mips-rtems] config/mips/rtems.h init/fini issue)
authorJoel Sherrill <joel@OARcorp.com>
Wed, 29 Jan 2003 15:01:39 +0000 (15:01 +0000)
committerJoel Sherrill <joel@gcc.gnu.org>
Wed, 29 Jan 2003 15:01:39 +0000 (15:01 +0000)
2003-01-13 Joel Sherrill <joel@OARcorp.com>

* config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic
RTEMS code knows which C++ initialization style the toolset
configuration is using. This was tracked as PR9295.

From-SVN: r62082

gcc/ChangeLog
gcc/config/mips/rtems.h

index ecc0b682aef09526e1f26649181bb36b20f83ade..c222404633a65656e8296f42927e2b863377fa93 100644 (file)
@@ -1,3 +1,9 @@
+2003-01-13     Joel Sherrill <joel@OARcorp.com>
+
+       * config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic
+       RTEMS code knows which C++ initialization style the toolset
+       configuration is using. This was tracked as PR9295.
+
 2003-01-29     Joel Sherrill <joel@OARcorp.com>
 
        * config/m68k/t-crtstuff: Replace spaces with tabs, add 
index ae27293e8ad93d03a0cb85deb1d5773e385791dc..5573bcd5c53e12afdecb3f0860005c2d30abe53b 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for rtems targeting a MIPS using ELF.
-   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
    Contributed by Joel Sherrill (joel@OARcorp.com).
 
 This file is part of GNU CC.
@@ -24,5 +24,6 @@ Boston, MA 02111-1307, USA.  */
 #define TARGET_OS_CPP_BUILTINS()       \
 do {                                   \
   builtin_define ("__rtems__");                \
+  builtin_define ("__USE_INIT_FINI__");        \
   builtin_assert ("system=rtems");     \
 } while (0)