[uClibc]minor fix to last patch

Manuel Novoa III mnovoa3 at bellsouth.net
Sun Jan 7 17:53:58 UTC 2001


Erik,

The define for uClibc_syscall_exit( ) in unified_syscall_i386.h should be
changed from 
---------------
#define uClibc_syscall_exit(type,name,type1,arg1) \
__asm__ ( \
".text\n.global "###name"\n"#name":\nmovb $"__STR_NR_##name \
",%al;\n jmp _start_exit" \
)
---------------
to
---------------
#define uClibc_syscall_exit(type,name,type1,arg1) \
__asm__ ( \
".text\n.global "###name"\n"#name":\nmovl $"__STR_NR_##name \
",%eax;\n jmp _start_exit" \
)
---------------

i.e. change movb to movl and %al to %eax.

Sorry.

Manuel





More information about the uClibc mailing list