From: Joel Sherrill Date: Wed, 29 Jan 2003 15:55:28 +0000 (+0000) Subject: re PR target/9295 ([mips-rtems] config/mips/rtems.h init/fini issue) X-Git-Tag: releases/gcc-3.2.2~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaf76a25748b1161f2ee2bf1250d207b4f40e601;p=thirdparty%2Fgcc.git 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 --- 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"