This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/3] [gomp] Add RTEMS configuration


On Thu, Sep 03, 2015 at 11:46:49AM +0200, Jakub Jelinek wrote:
> On Tue, Jul 28, 2015 at 01:04:57PM +0200, Sebastian Huber wrote:
> > libgomp/ChangeLog
> > 2015-07-28  Sebastian Huber  <sebastian.huber@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 (.

Oh, and please use
#include "libgomp.h"
#include "bar.h"
instead of
#include <libgomp.h>
#include <bar.h>
(to help differentiate system headers from libgomp specific headers).

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]