Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-03 | i386: store errno value before using __set_errno() | Ingo van Lil | |
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. Signed-off-by: Ingo van Lil <inguin@gmx.de> Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2006-01-26 | Get rid of missing prototype warnings | Peter S. Mazinger | |
2006-01-24 | - use keywords __asm__ and __inline__ c99. | Bernhard Reutner-Fischer | |
2006-01-23 | Make i386 build w/ -std=c99 (almost) | Peter S. Mazinger | |
2006-01-14 | fix broken commenting | Mike Frysinger | |
2006-01-14 | make DODEBUG=y happy, update sysdeps/common/* copyright | Peter S. Mazinger | |
2005-07-28 | the errno settings was fixed but the return value was still being clobbered ↵ | Mike Frysinger | |
... fix that too | |||
2005-07-27 | add some asm magic to fix setting errno/ret values in the .S functions | Mike Frysinger | |
2005-07-06 | Peter S. Mazinger writes: use the __syscall_error.c trick to handle setting ↵ | Mike Frysinger | |
errno |