On Tue, Jul 28, 2015 at 01:04:57PM +0200, Sebastian Huber wrote: > libgomp/ChangeLog > 2015-07-28 Sebastian Huber <sebastian.hu...@embedded-brains.de> > > * config/rtems/bar.c: New. > * config/rtems/bar.h: Likewise. > * config/rtems/mutex.c: Likewise. > * config/rtems/mutex.h: Likewise. > * config/rtems/sem.c: Likewise. > * config/rtems/sem.h: Likewise. > * configure.ac (*-*-rtems*): Check that Newlib provides a proper > <sys/lock.h> header file. > * configure.tgt (*-*-rtems*): Enable RTEMS configuration if > supported by Newlib. > * configure: Regenerate.
> --- /dev/null > +++ b/libgomp/config/rtems/bar.c > @@ -0,0 +1,255 @@ > + > +static gomp_barrier_t * > +generation_to_barrier(int *addr) Missing space before (. Ok with that fixed. Jakub