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