This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/3] [gomp] Add RTEMS configuration
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 3 Sep 2015 11:58:22 +0200
- Subject: Re: [PATCH 1/3] [gomp] Add RTEMS configuration
- Authentication-results: sourceware.org; auth=none
- References: <1438081499-9651-1-git-send-email-sebastian dot huber at embedded-brains dot de> <20150903094649 dot GP1847 at tucnak dot redhat dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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