On 09/16/2014 04:34 PM, Bernhard Reutner-Fischer wrote: > On 15 September 2014 17:33, Matthias Schiffer > <mschif...@universe-factory.net> wrote: >> Ping? I'd like to get this fixed as soon as possible (even though it's >> probably too late for the OpenWrt BB final?). I guess I can try to write >> a patch, but I had hoped someone on these lists could give some advice >> on what the best way to fix this would be... > > You could stuff the 6ff args into an immediate structure and pass a > reference to that. Wouldn't that pass the arguments on the stack, or am I understanding you wrong? I think not using the stack if it can be avoided is the whole point of INLINE_SYSCALL/INTERNAL_SYSCALL...
> > What does glibc do? As far as I can tell, glibc's INTERNAL_SYSCALL implementation for i386 only supports up to 5 arguments, all syscall6 are implemented indepently on i386 (in the case of epoll_pwait there is an indepdendent assembly implementation as the 6th argument is implicit from the applications' point of view; splice and maybe others are automatically generated assembly as the kernel and libc APIs match) Matthias
signature.asc
Description: OpenPGP digital signature
_______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc