[PATCH] Store errno value before using __set_errno()
Ingo van Lil
inguin at gmx.de
Fri Jul 3 10:56:38 UTC 2009
On 06/04/2009 02:33 PM, Ingo van Lil wrote:
> The __syscall_error() function stores the errno value in the edx
> register before invoking the __set_errno() macro. When using the
> pthread library this macro calls thread_self() to determine the errno
> location, which might clobber the edx register. The errno value must
> be stored in a "real" variable so the compiler can take care of
> saving/restoring it if necessary.
Any update on this? Has anyone found the time to have a look at my patch?
Thanks,
Ingo
More information about the uClibc
mailing list