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
This commit is contained in:
Joel Sherrill 2003-01-29 15:01:39 +00:00 committed by Joel Sherrill
parent 2e327e6e14
commit c934274a40
2 changed files with 8 additions and 1 deletions

View 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

View 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)