[RTEMS] Fix moxie libgcc support

2016-05-10 Thread Sebastian Huber
Hello, I will back port this to all open branches this Friday if nobody objects: https://gcc.gnu.org/viewcvs/gcc?view=revision=236064 -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail

Re: [PATCH v2] [libatomic] Add RTEMS support

2016-05-02 Thread Sebastian Huber
If nobody objects, I will back port this to GCC 6 next Monday. On 20/04/16 14:40, Joel Sherrill wrote: As the other RTEMS target maintainer. I second the request. --joel On Apr 20, 2016 7:35 AM, "Sebastian Huber" <sebastian.hu...@embedded-brains.de <mailto:sebastia

Re: [PATCH v2] [libatomic] Add RTEMS support

2016-04-24 Thread Sebastian Huber
Ok, what about the GCC trunk? On 20/04/16 14:35, Sebastian Huber wrote: Hello, I know that I am pretty late, but is there a chance to get this into the GCC 6.1 release? On 19/04/16 14:56, Sebastian Huber wrote: v2: Do not use architecture configuration due to broken ARM libatomic support

Re: [PATCH v2] [libatomic] Add RTEMS support

2016-04-20 Thread Sebastian Huber
Hello, I know that I am pretty late, but is there a chance to get this into the GCC 6.1 release? On 19/04/16 14:56, Sebastian Huber wrote: v2: Do not use architecture configuration due to broken ARM libatomic support. gcc/ * config/rtems.h (LIB_SPEC): Add -latomic. libatomic

[PATCH v2] [libatomic] Add RTEMS support

2016-04-19 Thread Sebastian Huber
re Foundation, Inc. + Contributed by Sebastian Huber <sebastian.hu...@embedded-brains.de>. + + This file is part of the GNU Atomic Library (libatomic). + + Libatomic is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by

[PATCH] [libatomic] Add RTEMS support

2016-04-19 Thread Sebastian Huber
s/host-config.h b/libatomic/config/rtems/host-config.h new file mode 100644 index 000..d11e9ef --- /dev/null +++ b/libatomic/config/rtems/host-config.h @@ -0,0 +1,41 @@ +/* Copyright (C) 2016 Free Software Foundation, Inc. + Contributed by Sebastian Huber <sebastian.hu...@embedded-brains.d

Re: [PATCH] Maybe change __size_t definition in ?

2016-04-15 Thread Sebastian Huber
On 15/04/16 12:23, Richard Biener wrote: On Fri, Apr 15, 2016 at 11:44 AM, Sebastian Huber <sebastian.hu...@embedded-brains.de> wrote: >I work currently on a better FreeBSD compatibility for Newlib. For >RTEMS we use the network, USB, SD/MMC stacks from FreeBSD. It would be

[PATCH] Maybe change __size_t definition in ?

2016-04-15 Thread Sebastian Huber
rks fine so far, but breaks if someone includes after the first time. This patch would address this issue, but I do not know which other issues it generates. gcc/ChangeLog 2016-04-15 Sebastian Huber <sebastian.hu...@embedded-brains.de> * ginclude/stddef.h (__size_t): Define

Re: [PATCH] [graphite] document that isl-0.16 is supported

2016-02-02 Thread Sebastian Huber
present me three versions which one should I choose as a naive user? Are the versions in the contrib/download_prerequisites script the recommended ones? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89

Re: [PATCH] [graphite] document that isl-0.16 is supported

2016-02-02 Thread Sebastian Huber
On 02/02/16 19:00, Mike Stump wrote: On Feb 2, 2016, at 2:23 AM, Sebastian Huber<sebastian.hu...@embedded-brains.de> wrote: >It would be good to have a recommended version as well (similar for cloog, gmp, mpc and mpfr). If you present me three versions which one should I choose as

Re: [PATCH] [graphite] document that isl-0.16 is supported

2016-02-02 Thread Sebastian Huber
On 03/02/16 07:29, Sebastian Huber wrote: On 02/02/16 19:00, Mike Stump wrote: On Feb 2, 2016, at 2:23 AM, Sebastian Huber<sebastian.hu...@embedded-brains.de> wrote: >It would be good to have a recommended version as well (similar for cloog, gmp, mpc and mpfr). If you present

[PATCH] [RTEMS] Add Cortex-M7 multilib for FPU support

2016-01-12 Thread Sebastian Huber
gcc/ChangeLog 2016-01-12 Sebastian Huber <sebastian.hu...@embedded-brains.de> * config/arm/t-rtems: Add cortex-m7/fpv5-d16 multilib. --- gcc/config/arm/t-rtems | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/config/arm/t-rtems b/gcc/config/arm/t-rtems

Re: [PATCH] Convert SPARC to LRA

2015-12-08 Thread Sebastian Huber
Hello David, since the LRA patch is still reverted on the trunk, I guess the switch to LRA will not happen in GCC 6? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu

Re: [PATCH] Add configure flag for operator new (std::nothrow)

2015-11-17 Thread Sebastian Huber
ng. It's a (one time) callback reporting that something went wrong, but not intended to fix things e.g. by attempting to free more memory. For statistics and logging you may also use the --wrap option of GNU ld. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim,

Re: [PATCH] Fix declaration of pthread-structs in s-osinte-rtems.ads

2015-11-02 Thread Sebastian Huber
or double throughout, e.g. if we change the CPU mask type to uint64_t, then the alignment specified here is no longer correct. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu

Re: [wwwdocs] GCC 6 Release Notes for RTEMS

2015-11-01 Thread Sebastian Huber
Hello Gerald, On 31/10/15 21:36, Gerald Pfeifer wrote: Hi Sebastian, what do you think about the follow-up patch below, on top of your original patch? thanks for the style changes. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89

Re: Merge from gomp-4_1-branch to trunk

2015-10-14 Thread Sebastian Huber
); and omp_get_parition_place_nums ((int *) place_nums); The reason for int32_t is that on the Fortran side it is integer(kind=4) and everywhere else for that int32_t is used. If this works, the patch is preapproved. I checked this in: https://gcc.gnu.org/viewcvs/gcc?view=revision=228805 -- Sebastian Huber, embedded

Re: Merge from gomp-4_1-branch to trunk

2015-10-14 Thread Sebastian Huber
On 14/10/15 10:04, Jakub Jelinek wrote: On Wed, Oct 14, 2015 at 09:34:48AM +0200, Sebastian Huber wrote: >/home/EB/sebastian_h/archive/gcc-git/libgomp/fortran.c:28:0: >/home/EB/sebastian_h/archive/gcc-git/libgomp/fortran.c:73:18: note: expected >'int *' but argument is of type 'int32

Re: Merge from gomp-4_1-branch to trunk

2015-10-14 Thread Sebastian Huber
ce_nums (_place_nums); + *place_nums = int_place_nums; } void -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on reque

Re: [patch] libstdc++/67747 Allocate space for dirent::d_name

2015-10-02 Thread Sebastian Huber
should probably mark it as such in the glibc headers. The READDIR(3) man page should be updated as well, since it doesn't mention that readdir_r() is deprecated and always insecure. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax

Re: [PATCH] Convert SPARC to LRA

2015-09-29 Thread Sebastian Huber
aster than the last shipping real hardware! You can still buy m68k based chips (e.g. Freescale ColdFire) for embedded systems. http://www.freescale.com/products/more-processors/32-bit-mcu-and-mcp/coldfire-plus-coldfire-mcus-mpus:PC68KCF -- Sebastian Huber, embedded brains GmbH Address : Dornie

Re: [PATCH] Update RTEMS multilib for SPARC

2015-09-28 Thread Sebastian Huber
cessor) and the AT697F (LEON2-FT)? Why do we have no leon3 variant without fixes for the UT699 and AT697F? Which multilib do you suggest now for the NGMP/GR740? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 4

Re: [PATCH] Update RTEMS multilib for SPARC

2015-09-28 Thread Sebastian Huber
On 28/09/15 14:33, Sebastian Huber wrote: On 28/09/15 14:13, Daniel Hellstrom wrote: Now that muser-mode is default the multilib definitions does not require to specify that switch any more. Add UT699 to multilib after recent patches. Add AT697F multilib since there are many LEON2 users

Re: [PATCH] Update RTEMS multilib for SPARC

2015-09-28 Thread Sebastian Huber
. It would be nice if you can update the RTEMS documentation accordingly similar to ARM and PowerPC, e.g. https://docs.rtems.org/doc-current/share/rtems/html/cpu_supplement/ARM-Specific-Information-Multilibs.html#ARM-Specific-Information-Multilibs -- Sebastian Huber, embedded brains GmbH Address

Re: [PATCH] Update RTEMS multilib for SPARC

2015-09-28 Thread Sebastian Huber
On 28/09/15 15:39, Daniel Hellstrom wrote: On 09/28/2015 03:37 PM, Sebastian Huber wrote: On 28/09/15 15:20, Daniel Hellstrom wrote: Which multilibs do we have after this change? .; soft;@msoft-float v8;@mcpu=v8 leon3;@mcpu=leon3 leon3v7;@mcpu=leon3v7 leon;@mcpu=leon leon/ut699;@mcpu

Re: [wwwdocs] GCC 6 Release Notes for RTEMS

2015-09-16 Thread Sebastian Huber
I checked this in. On 15/09/15 09:49, Sebastian Huber wrote: I think there are some head lines missing: Index: htdocs/gcc-6/changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-6/changes.html,v retrieving revision 1.29 diff -u

Re: [wwwdocs] GCC 6 Release Notes for RTEMS

2015-09-15 Thread Sebastian Huber
@@ -221,13 +221,13 @@ - +Operating Systems - +RTEMS The RTEMS thread model implementation changed. For the mutexes self-contained objects defined in Newlib sys/lock.h are used -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone

Re: [wwwdocs] GCC 6 Release Notes for RTEMS

2015-09-14 Thread Sebastian Huber
Ping. On 04/09/15 08:26, Sebastian Huber wrote: Index: htdocs/gcc-6/changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-6/changes.html,v retrieving revision 1.25 diff -u -r1.25 changes.html --- htdocs/gcc-6/changes.html 25 Aug

[wwwdocs] GCC 6 Release Notes for RTEMS

2015-09-04 Thread Sebastian Huber
a significantly better performance compared +to the POSIX configuration of libgomp. It is possible to +configure thread pools for each scheduler instance via the environment +variable GOMP_RTEMS_THREAD_POOLS. + + -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178

Re: [PATCH 3/3] [gomp] Add thread attribute customization

2015-09-03 Thread Sebastian Huber
th _thread_attr and gomp_thread_attr is supposed to be read-only by this function. Under certain conditions we have to modify the initial attributes. Since gomp_thread_attr is read-only, we have to copy it and then modify the copy. For this we need some storage: mutable_attr. -- Sebastian Huber, embedded brain

Re: [PATCH 3/3] [gomp] Add thread attribute customization

2015-09-03 Thread Sebastian Huber
On 03/09/15 13:05, Jakub Jelinek wrote: On Thu, Sep 03, 2015 at 12:57:53PM +0200, Sebastian Huber wrote: >On 03/09/15 12:19, Jakub Jelinek wrote: > >>@@ -292,7 +292,7 @@ gomp_team_start (void (*fn) (void *), void *data, unsigned nthreads, > >>>bool

Re: [PATCH 3/3] [gomp] Add thread attribute customization

2015-09-03 Thread Sebastian Huber
On 03/09/15 13:10, Jakub Jelinek wrote: On Thu, Sep 03, 2015 at 01:09:23PM +0200, Sebastian Huber wrote: We have only thread attributes in this function: mutable_attr and attr. The attr is initialized with _thread_attr and gomp_thread_attr is supposed to be read-only by this function. Under

Re: [wwwdocs] Skeleton for GCC 6 release notes

2015-09-03 Thread Sebastian Huber
to configure scheduler instance specific thread pools. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on request. Diese

Re: [wwwdocs] Skeleton for GCC 6 release notes

2015-09-03 Thread Sebastian Huber
On 04/09/15 00:41, Gerald Pfeifer wrote: Hi Sebastian, On Thu, 3 Sep 2015, Sebastian Huber wrote: >how can I add something to the release notes? I would like to mention >some RTEMS changes. is it possible checking outhttps://gcc.gnu.org/about.html is all you are looking for, o

Re: [PATCH v2] [libstdc++] Run tests on RTEMS

2015-09-02 Thread Sebastian Huber
On 01/09/15 23:07, Jeff Law wrote: On 09/01/2015 05:02 AM, Sebastian Huber wrote: v2: Include all options and not only "dg-do run ...". libstdc++-v3/ChangeLog 2015-09-01 Sebastian Huber <sebastian.hu...@embedded-brains.de> testsuite/*: Use 's/\*-\*-cygwin\* /&*-*-rt

Re: [PATCH] [RTEMS] Update RTEMS thread model

2015-09-02 Thread Sebastian Huber
Committed: https://gcc.gnu.org/viewcvs/gcc?view=revision=227428 -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available

Re: [PATCH v2] [libstdc++] Run tests on RTEMS

2015-09-02 Thread Sebastian Huber
On 01/09/15 23:07, Jeff Law wrote: On 09/01/2015 05:02 AM, Sebastian Huber wrote: v2: Include all options and not only "dg-do run ...". libstdc++-v3/ChangeLog 2015-09-01 Sebastian Huber <sebastian.hu...@embedded-brains.de> testsuite/*: Use 's/\*-\*-cygwin\* /&*-*-rt

[PATCH] [RTEMS] Update RTEMS thread model

2015-09-01 Thread Sebastian Huber
in RTEMS. In the long run support for thread join and detach should be added to the API independent RTEMS services. libgcc/ChangeLog 2015-09-01 Sebastian Huber <sebastian.hu...@embedded-brains.de> * config/gthr-rtems.h (__GTHREADS_CXX0X): New. (__GTHREAD_HAS_COND): Li

[PATCH] libstdc++/67408

2015-09-01 Thread Sebastian Huber
2015-09-01 Sebastian Huber <sebastian.hu...@embedded-brains.de> PR libstdc++/67408 * include/std/mutex (__timed_mutex_impl): Use __timedlock(). (timed_mutex): Add friend class __timed_mutex_impl. Add __timedlock(). (recursive_timed_mutex): Li

Re: [PATCH] [gomp] Simplify thread pool initialization

2015-08-30 Thread Sebastian Huber
Ping. On 28/07/15 13:06, Sebastian Huber wrote: Ping. This is a pre-requisite for: https://gcc.gnu.org/ml/gcc-patches/2015-07/msg02347.html On 22/07/15 14:56, Sebastian Huber wrote: Move the thread pool initialization from the team start to the team creation. This eliminates one

[PATCH 3/3] [gomp] Add thread attribute customization

2015-07-28 Thread Sebastian Huber
libgomp/ChangeLog 2015-07-28 Sebastian Huber sebastian.hu...@embedded-brains.de * config/posix/pool.h (gomp_adjust_thread_attr): New. * config/rtems/pool.h (gomp_adjust_thread_attr): Likewise. (gomp_thread_pool_reservoir): Add priority member. * confi/rtems

[PATCH 2/3] [gomp] Thread pool management

2015-07-28 Thread Sebastian Huber
since otherwise we may end up in an explosion of OpenMP worker threads. libgomp/ChangeLog 2015-07-28 Sebastian Huber sebastian.hu...@embedded-brains.de * config/posix/pool.h: New. * config/rtems/pool.h: Likewise. * config/rtems/proc.c: Likewise. * libgomp.h

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

2015-07-28 Thread Sebastian Huber
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

Re: [PATCH] [gomp] Simplify thread pool initialization

2015-07-28 Thread Sebastian Huber
Ping. This is a pre-requisite for: https://gcc.gnu.org/ml/gcc-patches/2015-07/msg02347.html On 22/07/15 14:56, Sebastian Huber wrote: Move the thread pool initialization from the team start to the team creation. This eliminates one conditional expression. In addition this is a preparation

[PATCH] [gomp] Simplify thread pool initialization

2015-07-22 Thread Sebastian Huber
/ChangeLog 2015-07-22 Sebastian Huber sebastian.hu...@embedded-brains.de * team.c (gomp_new_thread_pool): Delete and move content to ... (gomp_get_thread_pool): ... new function. Allocate and initialize thread pool on demand. (get_last_team): Use

Re: [PATCH] [gomp] Recycle non-nested team if possible

2015-07-15 Thread Sebastian Huber
Thanks, I checked this in: https://gcc.gnu.org/viewcvs/gcc?view=revisionrevision=225811 -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP

Re: undefined reference to `acc_copyin_array_h_'

2015-07-15 Thread Sebastian Huber
On 15/07/15 14:16, Thomas Schwinge wrote: Hallo! On Tue, 14 Jul 2015 13:47:41 +0200, Sebastian Huber sebastian.hu...@embedded-brains.de wrote: [...] I run the test suite on x86_64-unknown-linux-gnu with the previously mentioned asserts and got no unexpected failures. With --disable-linux

Re: [PATCH] [gomp] Recycle non-nested team if possible

2015-07-14 Thread Sebastian Huber
On 14/07/15 09:04, Sebastian Huber wrote: #include assert.h static inline struct gomp_team * get_last_team (unsigned nthreads) { struct gomp_thread *thr = gomp_thread (); if (thr-ts.team == NULL) { struct gomp_thread_pool *pool = thr-thread_pool; if (pool != NULL

Re: [PATCH] [gomp] Recycle non-nested team if possible

2015-07-14 Thread Sebastian Huber
On 13/07/15 16:33, Sebastian Huber wrote: On 13/07/15 16:17, Jakub Jelinek wrote: On Mon, Jul 13, 2015 at 01:15:44PM +0200, Sebastian Huber wrote: diff --git a/libgomp/team.c b/libgomp/team.c index b98b233..0bcbaf8 100644 --- a/libgomp/team.c +++ b/libgomp/team.c @@ -134,6 +134,25

Re: [PATCH] [gomp] Recycle non-nested team if possible

2015-07-14 Thread Sebastian Huber
On 14/07/15 09:19, Jakub Jelinek wrote: On Tue, Jul 14, 2015 at 09:09:01AM +0200, Sebastian Huber wrote: I pasted the wrong version, since I wanted to check that I get a failure in case generation % BAR_INCR != 0. There is also config/posix/bar* implementation, which would need to be checked

Re: [PATCH] [gomp] Recycle non-nested team if possible

2015-07-14 Thread Sebastian Huber
On 14/07/15 12:44, Jakub Jelinek wrote: On Tue, Jul 14, 2015 at 11:28:18AM +0200, Sebastian Huber wrote: If I destroy the barrier of the last team, and then initialize it later in gomp_new_team() +static inline struct gomp_team * +get_last_team (unsigned nthreads) +{ + struct gomp_thread

[PATCH] [gomp] Recycle non-nested team if possible

2015-07-13 Thread Sebastian Huber
-13 Sebastian Huber sebastian.hu...@embedded-brains.de * team.c (get_recycable_team): New. (gomp_new_team): Recycle last non-nested team if possible. (free_team): Destroy more team synchronization objects. (gomp_team_end): Move some team synchronization object

Re: [PATCH] [gomp] Recycle non-nested team if possible

2015-07-13 Thread Sebastian Huber
On 13/07/15 16:17, Jakub Jelinek wrote: On Mon, Jul 13, 2015 at 01:15:44PM +0200, Sebastian Huber wrote: diff --git a/libgomp/team.c b/libgomp/team.c index b98b233..0bcbaf8 100644 --- a/libgomp/team.c +++ b/libgomp/team.c @@ -134,6 +134,25 @@ gomp_thread_start (void *xdata) return NULL

Re: [PATCH] libgomp: Introduce gomp_thread::spare_team

2015-07-13 Thread Sebastian Huber
Ping. On 07/07/15 14:17, Sebastian Huber wrote: Try to re-use the previous team to avoid the use of malloc() and free() in the normal case where number of threads is the same. Avoid superfluous destruction and initialization of team synchronization objects. Using the microbenchmark posted

Re: [PATCH] libgomp: Introduce gomp_thread::spare_team

2015-07-13 Thread Sebastian Huber
On 13/07/15 09:17, Jakub Jelinek wrote: On Mon, Jul 13, 2015 at 08:32:33AM +0200, Sebastian Huber wrote: Ping. Space in gomp_thread is precious, that is a TLS variable, and you want to only handle the non-nested case only anyway, so why don't you just try to use if (thr-thread_pool

[PATCH] libgomp: Introduce gomp_thread::spare_team

2015-07-07 Thread Sebastian Huber
Sebastian Huber sebastian.hu...@embedded-brains.de * libgomp.h (gomp_thread): Add spare_team field. * team.c (gomp_thread_start): Initialize spare team for non-TLS targets. (gomp_new_team): Use spare team if possible. (free_team): Destroy more team objects

[PATCH] libgomp: Add comment to clarify last_team usage

2015-07-03 Thread Sebastian Huber
libgomp/ChangeLog 2015-07-03 Sebastian Huber sebastian.hu...@embedded-brains.de * libgomp.h (gomp_thread_pool): Comment last_team field. --- libgomp/libgomp.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libgomp/libgomp.h b/libgomp/libgomp.h index 5272f01..5ed0f78 100644

Re: [PATCH] Make muser-mode the default for LEON3

2015-06-23 Thread Sebastian Huber
/sparc/sparc.opt: Add supervisor mode flag (-msv-mode) and make user mode the default * config/sparc/sync.md: Only use supervisor ASI for CASA when in supervisor mode * doc/invoke.texi: Document msv-mode flag -- Sebastian Huber, embedded brains GmbH Address

Re: [PATCH] libgomp: Add RTEMS support

2015-03-31 Thread Sebastian Huber
On 13/03/15 11:43, Jakub Jelinek wrote: On Fri, Mar 13, 2015 at 11:38:12AM +0100, Sebastian Huber wrote: I would like to commit this patch to GCC 4.9 and 5.0. libgomp/ChangeLog 2015-03-13 Sebastian Huber sebastian.hu...@embedded-brains.de * configure.tgt (*-*-rtems*): Use local

[PATCH] libgomp: Add RTEMS support

2015-03-13 Thread Sebastian Huber
I would like to commit this patch to GCC 4.9 and 5.0. libgomp/ChangeLog 2015-03-13 Sebastian Huber sebastian.hu...@embedded-brains.de * configure.tgt (*-*-rtems*): Use local-exec TLS model. * configure.ac (*-*-rtems*): Assume Pthread is supported. (pthread.h): Check

Re: [PATCH] libgomp: Add RTEMS support

2015-03-13 Thread Sebastian Huber
On 13/03/15 11:43, Jakub Jelinek wrote: On Fri, Mar 13, 2015 at 11:38:12AM +0100, Sebastian Huber wrote: I would like to commit this patch to GCC 4.9 and 5.0. libgomp/ChangeLog 2015-03-13 Sebastian Huber sebastian.hu...@embedded-brains.de * configure.tgt (*-*-rtems*): Use local-exec

Re: [PATCH 1/3] RTEMS: Use MULTILIB_REQUIRED for PowerPC

2015-01-09 Thread Sebastian Huber
Checked in as https://gcc.gnu.org/viewcvs/gcc?view=revisionrevision=219384 https://gcc.gnu.org/viewcvs/gcc?view=revisionrevision=219389 -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail

Re: [PATCH 2/3] RTEMS: Fix MPC8540 multilibs for PowerPC

2015-01-09 Thread Sebastian Huber
Checked in as https://gcc.gnu.org/viewcvs/gcc?view=revisionrevision=219385 https://gcc.gnu.org/viewcvs/gcc?view=revisionrevision=219390 -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail

Re: [PATCH 3/3] RTEMS: Add e6500 multilibs for PowerPC

2015-01-09 Thread Sebastian Huber
Checked in slightly modified as https://gcc.gnu.org/viewcvs/gcc?view=revisionrevision=219387 https://gcc.gnu.org/viewcvs/gcc?view=revisionrevision=219391 -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89

Re: [PATCH 1/2] RTEMS: Rename ARM target config files

2015-01-09 Thread Sebastian Huber
Checked in as https://gcc.gnu.org/viewcvs/gcc?view=revisionrevision=219382 -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key

Re: [PATCH 2/2] RTEMS: Use MULTILIB_REQUIRED for ARM

2015-01-09 Thread Sebastian Huber
Checked in as https://gcc.gnu.org/viewcvs/gcc?view=revisionrevision=219383 -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key

[PATCH 2/2] RTEMS: Use MULTILIB_REQUIRED for ARM

2014-12-15 Thread Sebastian Huber
This patch should be applied to GCC mainline. I do not have write access, so in case this gets approved, please commit it for me. gcc/ChangeLog 2014-12-15 Sebastian Huber sebastian.hu...@embedded-brains.de * config/arm/t-rtems: Use MULTILIB_REQUIRED instead

[PATCH 1/2] RTEMS: Rename ARM target config files

2014-12-15 Thread Sebastian Huber
Now that we only have the EABI configuration for RTEMS rename the files to match the pattern used for the other RTEMS targets. This patch should be applied to GCC mainline. I do not have write access, so in case this gets approved, please commit it for me. gcc/ChangeLog 2014-12-15 Sebastian

[PATCH 3/3] RTEMS: Add e6500 multilibs for PowerPC

2014-12-15 Thread Sebastian Huber
. gcc/ChangeLog 2014-12-15 Sebastian Huber sebastian.hu...@embedded-brains.de * config/rs6000/t-rtems: Add e6500 multilibs. --- gcc/config/rs6000/t-rtems | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/config/rs6000/t-rtems b/gcc/config/rs6000/t

[PATCH 2/3] RTEMS: Fix MPC8540 multilibs for PowerPC

2014-12-15 Thread Sebastian Huber
approved, please commit it for me. gcc/ChangeLog 2014-12-15 Sebastian Huber sebastian.hu...@embedded-brains.de * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for MPC8540. --- gcc/config/rs6000/t-rtems | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff

[PATCH 1/3] RTEMS: Use MULTILIB_REQUIRED for PowerPC

2014-12-15 Thread Sebastian Huber
This patch should be applied to GCC 4.9 and mainline. I do not have write access, so in case this gets approved, please commit it for me. gcc/ChangeLog 2014-12-15 Sebastian Huber sebastian.hu...@embedded-brains.de * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead

[PATCH v2] RTEMS: Add e6500 multilibs for PowerPC

2014-12-15 Thread Sebastian Huber
. v2: Move MULTILIB_OPTIONS += m32 to right position in the file. gcc/ChangeLog 2014-12-15 Sebastian Huber sebastian.hu...@embedded-brains.de * config/rs6000/t-rtems: Add e6500 multilibs. --- gcc/config/rs6000/t-rtems | 13 + 1 file changed, 9 insertions(+), 4 deletions

[PATCH] gcc/testsuite/gcc.dg/typeof-2.c

2014-12-14 Thread Sebastian Huber
gcc/testsuite/ChangeLog 2014-12-15 Sebastian Huber sebastian.hu...@embedded-brains.de * gcc.dg/typeof-2.c: Add checks for non-atomic types. --- gcc/testsuite/gcc.dg/typeof-2.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/gcc/testsuite/gcc.dg

Re: [PATCH] RTEMS: select SPARC multilibs

2014-11-07 Thread Sebastian Huber
of multilibs we need in RTEMS to support the currently available hardware. I compiled the RTEMS testsuite with this compiler and run it on an NGMP board. The results are all right. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16

Re: [PATCH] RTEMS thread model configuration

2014-09-17 Thread Sebastian Huber
Ping^2. On 02/05/14 10:46, Sebastian Huber wrote: Ping. On 2014-04-18 12:11, Sebastian Huber wrote: From: Sebastian Huber sebastian-hu...@web.de The command line to build a GCC for RTEMS contained virtually always a '--enable-threads'. This patch helps to avoid this extra configuration

[PATCH] RTEMS: Update contrib/config-list.mk

2014-09-17 Thread Sebastian Huber
contrib/ChangeLog 2014-09-17 Sebastian Huber sebastian.hu...@embedded-brains.de * config-list.mk (LIST): Add arm-rtems. Add nios2-rtems. Remove extra option from powerpc-rtems. --- contrib/config-list.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] RTEMS: Update contrib/config-list.mk

2014-09-17 Thread Sebastian Huber
RTEMS targets should have it or none. With a recent commit this option is superfluous. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP

Re: [PATCH] SPARC: add mcpu=leon3v7 target

2014-09-15 Thread Sebastian Huber
Ping. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftliche

Re: [PATCH] SPARC: add mcpu=leon3v7 target

2014-09-01 Thread Sebastian Huber
Hello, what is the status for this patch? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on request. Diese

Re: spar-rtems add leon3 multlib to 4.9

2014-08-21 Thread Sebastian Huber
mcpu=v8 -MULTILIB_DIRNAMES = soft v8 +MULTILIB_OPTIONS = msoft-float mcpu=v8/mcpu=leon3 +MULTILIB_DIRNAMES = soft v8 leon3 MULTILIB_MATCHES = msoft-float=mno-fpu -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax

[PATCH v2] RTEMS: Add multilibs for ARM

2014-07-21 Thread Sebastian Huber
This change is necessary to support Cortex-M4 and Cortex-R based chips in RTEMS. This patch should be applied to GCC 4.8, 4.9 and mainline. I do not have write access, so in case this gets approved, please commit it for me. gcc/ChangeLog 2014-07-21 Sebastian Huber sebastian.hu...@embedded

Re: [PATCH] RTEMS: Add Nios 2 support

2014-07-19 Thread Sebastian Huber
this -fsingle-precision-constant. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine

Re: [PATCH] RTEMS: Add multilibs for ARM

2014-07-07 Thread Sebastian Huber
Ping. On 2014-07-02 10:15, Sebastian Huber wrote: This change is necessary to support Cortex-R based chips in RTEMS. This patch should be applied to GCC 4.8, 4.9 and mainline. I do not have write access, so in case this gets approved, please commit it for me. gcc/ChangeLog 2014-07-02

Re: [PATCH] RTEMS: Add Nios 2 support

2014-07-07 Thread Sebastian Huber
Ping. On 2014-06-26 13:43, Sebastian Huber wrote: This patch should be applied to GCC 4.9 and mainline. I do not have write access, so in case this gets approved, please commit it for me. gcc/ChangeLog 2014-06-26 Sebastian Huber sebastian.hu...@embedded-brains.de * config.gcc

Re: [PATCH v2] typeof: Remove type qualifiers for atomic types

2014-07-04 Thread Sebastian Huber
On 2014-06-30 15:03, Marek Polacek wrote: On Fri, Jun 27, 2014 at 08:49:24AM +0200, Marek Polacek wrote: On Fri, Jun 27, 2014 at 08:36:38AM +0200, Sebastian Huber wrote: Thanks for your patience. It would be nice if this can be applied to GCC 4.9 as well. Can someone please commit

[PATCH] RTEMS: Add multilibs for ARM

2014-07-02 Thread Sebastian Huber
This change is necessary to support Cortex-R based chips in RTEMS. This patch should be applied to GCC 4.8, 4.9 and mainline. I do not have write access, so in case this gets approved, please commit it for me. gcc/ChangeLog 2014-07-02 Sebastian Huber sebastian.hu...@embedded-brains.de

Re: [PATCH v2] typeof: Remove type qualifiers for atomic types

2014-06-27 Thread Sebastian Huber
On 2014-06-26 17:51, Joseph S. Myers wrote: On Thu, 26 Jun 2014, Sebastian Huber wrote: gcc/c/ChangeLog 2014-06-26 Sebastian Hubersebastian.hu...@embedded-brains.de * c-parser.c (c_parser_declaration_or_fndef): Discard all type qualifiers in __auto_type for atomic types

[PATCH v2] typeof: Remove type qualifiers for atomic types

2014-06-26 Thread Sebastian Huber
@ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. ldr r0, [r0] bx lr .size ld, .-ld .ident GCC: (GNU) 4.9.1 20140625 (prerelease) gcc/c/ChangeLog 2014-06-26 Sebastian Huber sebastian.hu...@embedded-brains.de * c-parser.c

[PATCH] RTEMS: Add Nios 2 support

2014-06-26 Thread Sebastian Huber
This patch should be applied to GCC 4.9 and mainline. I do not have write access, so in case this gets approved, please commit it for me. gcc/ChangeLog 2014-06-26 Sebastian Huber sebastian.hu...@embedded-brains.de * config.gcc (nios2-*-*): Add RTEMS support. * config/nios2

[PATCH] typeof: Remove type qualifiers for atomic types

2014-06-25 Thread Sebastian Huber
@ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. ldr r0, [r0] bx lr .size ld, .-ld .ident GCC: (GNU) 4.9.1 20140625 (prerelease) gcc/c/ChangeLog 2014-06-25 Sebastian Huber sebastian.hu...@embedded-brains.de * c-parser.c

Re: [PATCH] typeof: Remove type qualifiers for atomic types

2014-06-25 Thread Sebastian Huber
On 06/25/2014 05:56 PM, Joseph S. Myers wrote: On Wed, 25 Jun 2014, Sebastian Huber wrote: 2014-06-25 Sebastian Huber sebastian.hu...@embedded-brains.de * c-parser.c (c_parser_declaration_or_fndef): Discard all type qualifiers in __auto_type for atomic types

Re: [PATCH] testsuite: Register loaded libs

2014-05-09 Thread Sebastian Huber
://gcc.gnu.org/ml/gcc/2014-04/msg00267.html This patch unifies all copy and paste versions of load_gcc_lib. Ah, thanks for the pointer… Ok. Can someone please commit this for me. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16

[PATCH] RTEMS: Adjust SPARC multilibs

2014-05-02 Thread Sebastian Huber
access, so in case this gets approved, please commit it for me. gcc/ChangeLog 2014-05-02 Sebastian Huber sebastian.hu...@embedded-brains.de * config/sparc/t-rtems: Use user-mode for leon3 multilibs. --- gcc/config/sparc/t-rtems | 18 -- 1 files changed, 16 insertions

Re: [PATCH] RTEMS thread model configuration

2014-05-02 Thread Sebastian Huber
Ping. On 2014-04-18 12:11, Sebastian Huber wrote: From: Sebastian Huber sebastian-hu...@web.de The command line to build a GCC for RTEMS contained virtually always a '--enable-threads'. This patch helps to avoid this extra configuration command line parameter and makes the GCC build a bit

Re: [PATCH] testsuite: Register loaded libs

2014-04-28 Thread Sebastian Huber
On 2014-04-28 04:23, Mike Stump wrote: On Apr 27, 2014, at 10:45 AM, Sebastian Huber sebastian.hu...@embedded-brains.de wrote: 2014-04-27 Sebastian Huber sebastian.hu...@embedded-brains.de * testsuite/lib/libffi.exp (load_gcc_lib): Register loaded libs. So, I didn’t see anything

[PATCH] testsuite: Register loaded libs

2014-04-27 Thread Sebastian Huber
libffi/ChangeLog 2014-04-27 Sebastian Huber sebastian.hu...@embedded-brains.de * testsuite/lib/libffi.exp (load_gcc_lib): Register loaded libs. libjava/ChangeLog 2014-04-27 Sebastian Huber sebastian.hu...@embedded-brains.de * testsuite/lib/libjava.exp (load_gcc_lib

[PATCH] RTEMS thread model configuration

2014-04-18 Thread Sebastian Huber
From: Sebastian Huber sebastian-hu...@web.de The command line to build a GCC for RTEMS contained virtually always a '--enable-threads'. This patch helps to avoid this extra configuration command line parameter and makes the GCC build a bit more user friendly for RTEMS. This patch should

Re: [PATCH v2] SPARC: Clarify -mapp-regs option

2014-03-31 Thread Sebastian Huber
Ping. On 2014-03-16 12:43, Sebastian Huber wrote: gcc/ChangeLog 2014-03-16 Sebastian Huber sebastian.hu...@embedded-brains.de * doc/invoke.texi (mapp-regs): Clarify. --- gcc/doc/invoke.texi | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/doc/invoke.texi

Re: [PATCH v2] SPARC: Clarify -mapp-regs option

2014-03-31 Thread Sebastian Huber
On 2014-03-31 11:59, Richard Biener wrote: On Sun, Mar 16, 2014 at 12:43 PM, Sebastian Huber sebastian.hu...@embedded-brains.de wrote: gcc/ChangeLog 2014-03-16 Sebastian Hubersebastian.hu...@embedded-brains.de * doc/invoke.texi (mapp-regs): Clarify. Ok. Thanks, Richard. I don't

[PATCH v2] SPARC: Clarify -mapp-regs option

2014-03-16 Thread Sebastian Huber
gcc/ChangeLog 2014-03-16 Sebastian Huber sebastian.hu...@embedded-brains.de * doc/invoke.texi (mapp-regs): Clarify. --- gcc/doc/invoke.texi | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 24bd76e..485867d 100644

<    1   2   3   4   5   >