mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
1998-12-21 Ulrich Drepper <drepper@cygnus.com> * inet/gethstbynm_r.c: Remove NEED__RES definition since we do this anyway for digits_dots.c. * nss/getXXbyYY.c: Initialize _res before using digits_dots.c functions. * nss/getXXbyYY_r.c: Likewise. 1998-12-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sunrpc/key_call.c (getkeyserv_handle): Use __fcntl instead of fcntl. 1998-12-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * locale/weight.h (get_weight): Extract string elements as unsigned values.
This commit is contained in:
@ -57,7 +57,8 @@ __compare_and_swap (long int *p, long int oldval, long int newval)
|
||||
|
||||
__asm__ __volatile__ ("lock; cmpxchgl %3, %1; sete %0"
|
||||
: "=q" (ret), "=m" (*p), "=a" (readval)
|
||||
: "r" (newval), "m" (*p), "a" (oldval));
|
||||
: "r" (newval), "m" (*p), "a" (oldval)
|
||||
: "memory");
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -60,7 +60,8 @@ __compare_and_swap (long int *p, long int oldval, long int newval)
|
||||
|
||||
__asm__ __volatile__ ("lock; cmpxchgl %3, %1; sete %0"
|
||||
: "=q" (ret), "=m" (*p), "=a" (readval)
|
||||
: "r" (newval), "m" (*p), "a" (oldval));
|
||||
: "r" (newval), "m" (*p), "a" (oldval)
|
||||
: "memory");
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user