Updated Warnings Report

2017-08-28 Thread Joel Sherrill
Hi I fixed about 20 warnings that impacted all BSPs. The PowerPC BSPs are still the worst culprits. I suspect this is due to Sebastian's recent changes. ftp://ftp.rtems.org/pub/rtems/people/joel/warnings/warnings-4.12-master-20170827b/ There are still 197 unique warnings which is way up. I am ho

Re: [PATCH 2/2] main_dd.c: Eliminate no prototype warning for swab()

2017-08-28 Thread Gedare Bloom
On Sun, Aug 27, 2017 at 5:02 PM, Joel Sherrill wrote: > --- > cpukit/libmisc/shell/main_dd.c | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/cpukit/libmisc/shell/main_dd.c b/cpukit/libmisc/shell/main_dd.c > index e9c8bf3..6ae4abb 100644 > --- a/cpukit/libmisc/shell/main_dd.c

Re: [PATCH 2/2] main_dd.c: Eliminate no prototype warning for swab()

2017-08-28 Thread Joel Sherrill
On Mon, Aug 28, 2017 at 9:39 AM, Gedare Bloom wrote: > On Sun, Aug 27, 2017 at 5:02 PM, Joel Sherrill wrote: > > --- > > cpukit/libmisc/shell/main_dd.c | 11 +++ > > 1 file changed, 11 insertions(+) > > > > diff --git a/cpukit/libmisc/shell/main_dd.c b/cpukit/libmisc/shell/main_ > dd.c

x86 get TLS method

2017-08-28 Thread Joel Sherrill
Hi I am working on a paravirtualized target that requires the code to be compiled with -fPIC. This changes the TLS method from %gs to calling a subroutine. My question is what's the generic way to get the TLS area for a thread? Is the ARM method in C specific to the ARM or generic? Thanks. --jo