diff options
author | Joel Sherrill <joel@OARcorp.com> | 2003-01-29 15:01:39 +0000 |
---|---|---|
committer | Joel Sherrill <joel@gcc.gnu.org> | 2003-01-29 15:01:39 +0000 |
commit | c934274a40d854a28781a39cb6fd241643f2deef (patch) | |
tree | 26782e448c029a25568d081758af8d6b5a3435c6 /gcc | |
parent | 2e327e6e14d837b40ee8ceebda6431b7816d5f07 (diff) | |
download | gcc-c934274a40d854a28781a39cb6fd241643f2deef.zip gcc-c934274a40d854a28781a39cb6fd241643f2deef.tar.gz gcc-c934274a40d854a28781a39cb6fd241643f2deef.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/mips/rtems.h | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ecc0b68..c222404 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/mips/rtems.h b/gcc/config/mips/rtems.h index ae27293..5573bcd 100644 --- a/gcc/config/mips/rtems.h +++ b/gcc/config/mips/rtems.h @@ -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) |