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

Bernhard Fischer rep.nop at aon.at
Fri Aug 25 14:55:16 UTC 2006


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?

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.



More information about the uClibc mailing list