Commit c934274a by Joel Sherrill Committed by Joel Sherrill

re PR target/9295 ([mips-rtems] config/mips/rtems.h init/fini issue)

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
parent 2e327e6e
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> 2003-01-29 Joel Sherrill <joel@OARcorp.com>
* config/m68k/t-crtstuff: Replace spaces with tabs, add * config/m68k/t-crtstuff: Replace spaces with tabs, add
......
/* Definitions for rtems targeting a MIPS using ELF. /* 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). Contributed by Joel Sherrill (joel@OARcorp.com).
This file is part of GNU CC. This file is part of GNU CC.
...@@ -24,5 +24,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,5 +24,6 @@ Boston, MA 02111-1307, USA. */
#define TARGET_OS_CPP_BUILTINS() \ #define TARGET_OS_CPP_BUILTINS() \
do { \ do { \
builtin_define ("__rtems__"); \ builtin_define ("__rtems__"); \
builtin_define ("__USE_INIT_FINI__"); \
builtin_assert ("system=rtems"); \ builtin_assert ("system=rtems"); \
} while (0) } while (0)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment