From eaf76a25748b1161f2ee2bf1250d207b4f40e601 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 29 Jan 2003 15:55:28 +0000 Subject: [PATCH] re PR target/9295 ([mips-rtems] config/mips/rtems.h init/fini issue) 2003-01-13 Joel Sherrill * 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: r62088 --- gcc/ChangeLog | 6 ++++++ gcc/config/mips/rtems.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 225aac277398..c18f656ef11a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-01-13 Joel Sherrill + + * 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 * config/m68k/t-crtstuff: Replace spaces with tabs, add diff --git a/gcc/config/mips/rtems.h b/gcc/config/mips/rtems.h index 35674e265005..e7ed54cd0fdb 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. @@ -23,4 +23,4 @@ Boston, MA 02111-1307, USA. */ #undef CPP_PREDEFINES #define CPP_PREDEFINES "-Dmips -DMIPSEB -D_mips -D_MIPSEB \ - -D__rtems__ -Asystem=rtems" + -D__rtems__ -D__USE_INIT_FINI__ -Asystem=rtems" -- 2.47.2