1
0
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:
Ulrich Drepper
1996-11-14 02:04:01 +00:00
parent dd4b8913cd
commit 6acf09f471
2 changed files with 4 additions and 6 deletions

View File

@@ -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