]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 18 Jun 2003 00:00:50 +0000 (00:00 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 18 Jun 2003 00:00:50 +0000 (00:00 +0000)
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_mutex_lock):
Add ax to clobber list.
(lll_mutex_cond_lock): Likewise.
(lll_mutex_unlock): Likewise.
(lll_lock): Likewise.
(lll_unlock): Likewise.

nptl/ChangeLog
nptl/Makefile
nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h

index 9a4670d3bd8386b1b370914362dea8de43408d9e..b2af00f1cdef15b2a3910ec0cb0bf2cd751a96c5 100644 (file)
@@ -1,5 +1,12 @@
 2003-06-17  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_mutex_lock):
+       Add ax to clobber list.
+       (lll_mutex_cond_lock): Likewise.
+       (lll_mutex_unlock): Likewise.
+       (lll_lock): Likewise.
+       (lll_unlock): Likewise.
+
        * Makefile: Add rules to build and run tst-cancel18 and tst-cancelx18.
        * tst-cancel18.c: New file.
        * tst-cancelx18.c: New file.
index fab063dbcb6926614c867d55974f6b35e950bd3c..349f3ac3121b061328b99508a6dac7a3edf3b74f 100644 (file)
@@ -364,6 +364,7 @@ CFLAGS-tst-cancelx14.c += -fexceptions
 CFLAGS-tst-cancelx15.c += -fexceptions
 CFLAGS-tst-cancelx16.c += -fexceptions
 CFLAGS-tst-cancelx17.c += -fexceptions
+CFLAGS-tst-cancelx18.c += -fexceptions
 CFLAGS-tst-cleanupx0.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-tst-cleanupx1.c += -fexceptions -fasynchronous-unwind-tables
 CFLAGS-tst-cleanupx2.c += -fexceptions
index 4dfbf4bb459f3f76be85fdad3e1c6eefae139d30..1f1e7dd1a993eb47e41a68f7445c37d60918eb7f 100644 (file)
@@ -100,7 +100,7 @@ extern int __lll_mutex_unlock_wait (int *__futex) attribute_hidden;
                              "2:"                                            \
                              : "=S" (ignore1), "=&D" (ignore2), "=m" (futex) \
                              : "0" (1), "2" (futex)                          \
-                             : "cx", "r11", "cc", "memory"); })
+                             : "ax", "cx", "r11", "cc", "memory"); })
 
 
 #define lll_mutex_cond_lock(futex) \
@@ -118,7 +118,7 @@ extern int __lll_mutex_unlock_wait (int *__futex) attribute_hidden;
                              "2:"                                            \
                              : "=S" (ignore1), "=&D" (ignore2), "=m" (futex) \
                              : "0" (2), "2" (futex)                          \
-                             : "cx", "r11", "cc", "memory"); })
+                             : "ax", "cx", "r11", "cc", "memory"); })
 
 
 #define lll_mutex_timedlock(futex, timeout) \
@@ -156,7 +156,7 @@ extern int __lll_mutex_unlock_wait (int *__futex) attribute_hidden;
                              "2:"                                            \
                              : "=m" (futex), "=&D" (ignore)                  \
                              : "0" (futex)                                   \
-                             : "cx", "r11", "cc", "memory"); })
+                             : "ax", "cx", "r11", "cc", "memory"); })
 
 
 #define lll_mutex_islocked(futex) \
@@ -209,7 +209,7 @@ extern int lll_unlock_wake_cb (int *__futex) attribute_hidden;
                              "2:"                                            \
                              : "=S" (ignore1), "=&D" (ignore2), "=m" (futex) \
                              : "0" (-1), "2" (futex)                         \
-                             : "cx", "r11", "cc", "memory"); })
+                             : "ax", "cx", "r11", "cc", "memory"); })
 
 
 # define lll_unlock(futex) \
@@ -226,7 +226,7 @@ extern int lll_unlock_wake_cb (int *__futex) attribute_hidden;
                              "2:"                                            \
                              : "=m" (futex), "=&D" (ignore)                  \
                              : "0" (futex)                                   \
-                             : "cx", "r11", "cc", "memory"); })
+                             : "ax", "cx", "r11", "cc", "memory"); })
 #else
 /* Special versions of the macros for use in libc itself.  They avoid
    the lock prefix when the thread library is not used.
@@ -262,7 +262,7 @@ extern int lll_unlock_wake_cb (int *__futex) attribute_hidden;
                              "2:"                                            \
                              : "=S" (ignore1), "=&D" (ignore2), "=m" (futex) \
                              : "0" (-1), "2" (futex)                         \
-                             : "cx", "r11", "cc", "memory"); })
+                             : "ax", "cx", "r11", "cc", "memory"); })
 
 
 # define lll_unlock(futex) \
@@ -282,7 +282,7 @@ extern int lll_unlock_wake_cb (int *__futex) attribute_hidden;
                              "2:"                                            \
                              : "=m" (futex), "=&D" (ignore)                  \
                              : "0" (futex)                                   \
-                             : "cx", "r11", "cc", "memory"); })
+                             : "ax", "cx", "r11", "cc", "memory"); })
 #endif