re PR bootstrap/9296 ([*-rtems] gthr-rtems regression)

2003-01-29	Joel Sherrill <joel@OARcorp.com>

	* gthr-rtems.h: Define __GTHREAD_MUTEX_INIT.  Apparently no code
	depended on it being defined until now. This was tracked as PR9296.

From-SVN: r62084
This commit is contained in:
Joel Sherrill 2003-01-29 15:06:59 +00:00 committed by Joel Sherrill
parent c934274a40
commit 0680c8fb90
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-01-29 Joel Sherrill <joel@OARcorp.com>
* gthr-rtems.h: Define __GTHREAD_MUTEX_INIT. Apparently no code
depended on it being defined until now. This was tracked as PR9296.
2003-01-13 Joel Sherrill <joel@OARcorp.com>
* config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic

View File

@ -1,7 +1,7 @@
/* RTEMS threads compatibility routines for libgcc2 and libobjc.
by: Rosimildo da Silva( rdasilva@connecttel.com ) */
/* Compile this one with gcc. */
/* Copyright (C) 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
/* Copyright (C) 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
This file is part of GCC.
@ -37,6 +37,7 @@ extern "C" {
#define __GTHREADS 1
#define __GTHREAD_ONCE_INIT 0
#define __GTHREAD_MUTEX_INIT 0
#define __GTHREAD_MUTEX_INIT_FUNCTION rtems_gxx_mutex_init
/* Avoid dependency on rtems specific headers. */