Re: [PATCH 1/2] score: Add RTEMS_WEAK

2020-07-23 Thread Gedare Bloom
On Thu, Jul 23, 2020 at 11:54 AM Sebastian Huber wrote: > > On 23/07/2020 19:19, Gedare Bloom wrote: > > > We don't have any specific rule, but all the examples in GCC docs put > > the attributes near the end of the line rather than in the > > start/middle. I mentioned this related to Christian's

Re: [PATCH 1/2] score: Add RTEMS_WEAK

2020-07-23 Thread Sebastian Huber
On 23/07/2020 19:19, Gedare Bloom wrote: We don't have any specific rule, but all the examples in GCC docs put the attributes near the end of the line rather than in the start/middle. I mentioned this related to Christian's recent patch with alignment attributes. It might be good for us to defin

Re: [PATCH 1/2] score: Add RTEMS_WEAK

2020-07-23 Thread Gedare Bloom
We don't have any specific rule, but all the examples in GCC docs put the attributes near the end of the line rather than in the start/middle. I mentioned this related to Christian's recent patch with alignment attributes. It might be good for us to define some conventions for consistency. I lean t

[PATCH 1/2] score: Add RTEMS_WEAK

2020-07-23 Thread Sebastian Huber
Update #4032. --- cpukit/include/rtems/score/basedefs.h | 12 +++ testsuites/sptests/Makefile.am | 2 +- testsuites/sptests/spmisc01/init.c | 15 testsuites/sptests/spmisc01/spmisc01.h | 45 testsuites/sptests/spmisc01/strong.c | 47 +++

[PATCH 1/2] score: Add RTEMS_WEAK

2020-04-08 Thread Sebastian Huber
--- cpukit/include/rtems/score/basedefs.h | 12 testsuites/sptests/Makefile.am | 2 +- testsuites/sptests/spmisc01/init.c | 9 ++ testsuites/sptests/spmisc01/spmisc01.h | 51 ++ testsuites/sptests/spmisc01/strong.c | 42