summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/i386/__syscall_error.c
Commit message (Collapse)AuthorAgeFilesLines
* i386: store errno value before using __set_errno()Ingo van Lil2009-07-031-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 warningsPeter S. Mazinger2006-01-261-1/+2
|
* - use keywords __asm__ and __inline__ c99.Bernhard Reutner-Fischer2006-01-241-10/+10
|
* Make i386 build w/ -std=c99 (almost)Peter S. Mazinger2006-01-231-3/+3
|
* fix broken commentingMike Frysinger2006-01-141-0/+1
|
* make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger2006-01-141-20/+8
|
* the errno settings was fixed but the return value was still being clobbered ↵Mike Frysinger2005-07-281-5/+6
| | | | ... fix that too
* add some asm magic to fix setting errno/ret values in the .S functionsMike Frysinger2005-07-271-3/+19
|
* Peter S. Mazinger writes: use the __syscall_error.c trick to handle setting ↵Mike Frysinger2005-07-061-0/+29
errno