svn commit: trunk/uClibc: include libc/misc/internals libc/sysdeps etc...

Peter S. Mazinger ps.m at gmx.net
Fri Aug 25 15:07:17 UTC 2006


On Fri, 25 Aug 2006, Bernhard Fischer wrote:

> On Thu, Aug 24, 2006 at 02:24:14PM +0200, Peter S. Mazinger wrote:
> >On Thu, 24 Aug 2006, Bernhard Fischer wrote:
> >
> >> On Thu, Aug 24, 2006 at 01:52:19PM +0200, Peter S. Mazinger wrote:
> >> >On Wed, 23 Aug 2006, Mike Frysinger wrote:
> >> >
> >> >> On Wednesday 23 August 2006 19:51, Peter S. Mazinger wrote:
> >> >> > On Wed, 23 Aug 2006 vapier at uclibc.org wrote:
> >> >> > >    trunk/uClibc/libc/sysdeps/linux/arm/bits/syscalls.h
> >> >> >
> >> >> > this will fail on arm
> >> >> > errno.h may be included only for #ifndef __ASSEMBLER__
> >> >> > somehow the include went in at the wrong location
> >> >> 
> >> >> yeah i typoed it, fixed now
> >> >> -mike
> >> >
> >> >Attached the fix:
> >> >- SYS_ify is used by DO_CALL
> >> >- DO_CALL is used if __ASSEMBLER__
> >> >- errno.h in !__ASSEMBLER__
> >> >- s/asm/__asm__/
> >> 
> >> That last item should read s/asm/__asm__/g
> >> otherwise, we still have a wrong "asm"..
> 
> >thanks catching that, Peter
> 
> Same goes for volatile, btw.
> 
> vapier, could you do a global search and clean up the asm and
> volatile in one big sweep?

for some reason s/volatile/__volatile__/ was not committed

Peter
> 
> I'm tired of always executing this before the source starts to be useable..
> 
> find ./ \( -name "*.[ch]" -o -name "*.inc" \) -exec sed -i -e
> "/[^_]asm[[:space:]]*(/s/asm/__asm__/;/[^_]volatile[[:space:]]*(/s/volatile/__volatile__/;/__asm[[:space:]]*(/s/__asm/__asm__/;/[[:space:]]asm __volatile__/s/asm/__asm__/" {} \;
> 
> TIA.
> 
> 

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list