mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
update from main archive 961113
This commit is contained in:
@@ -75,13 +75,12 @@ Cambridge, MA 02139, USA. */
|
||||
a large offset. Therefore we must not anymore test for < 0, but test
|
||||
for a real error by making sure the value in %d0 is a real error
|
||||
number. Linus said he will make sure the no syscall returns a value
|
||||
in -1 .. -4095 as a valid result so we can savely test with -4096. */
|
||||
in -1 .. -4095 as a valid result so we can savely test with -4095. */
|
||||
#define PSEUDO(name, syscall_name, args) \
|
||||
.text; \
|
||||
ENTRY (name) \
|
||||
DO_CALL (&SYS_ify (syscall_name), args); \
|
||||
moveq.l &-4096, %d1; \
|
||||
cmp.l %d1, %d0; \
|
||||
cmp.l &-4095, %d0; \
|
||||
jcc syscall_error
|
||||
|
||||
#undef PSEUDO_END
|
||||
|
||||
Reference in New Issue
Block a user