]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 26 Jun 1998 09:51:29 +0000 (09:51 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 26 Jun 1998 09:51:29 +0000 (09:51 +0000)
1998-06-26  Ulrich Drepper  <drepper@cygnus.com>

* spinlock.c: Correct test whether to compile
__pthread_compare_and_swap or not.

libc.map
linuxthreads/ChangeLog
linuxthreads/spinlock.c

index 3024bbd4aff15488d1cfbfbf0b925557714294a4..0def83f777829071319a037f52f51528177ad2d2 100644 (file)
--- a/libc.map
+++ b/libc.map
@@ -20,6 +20,10 @@ GLIBC_2.0 {
     # This is for sparc only.
     .div; .mul; .rem; .udiv; .umul; .urem;
 
+    # For alpha, unfortunately in wider use.
+    _inb; _inw; _inl; _outb; _outw; _outl; _bus_base; _bus_base_sparse;
+    _hae_shift;
+
     # helper functions
     __errno_location; __libc_init_first; __h_errno_location; __libc_start_main;
 
index 2bbeb928e9c04903c4fe39ad9d36afcec0d507f1..b4f2ae61b395496f8fe72ce8d8d8a7d990593a66 100644 (file)
@@ -1,3 +1,8 @@
+1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
+
+       * spinlock.c: Correct test whether to compile
+       __pthread_compare_and_swap or not.
+
 1998-06-25 19:27  Ulrich Drepper  <drepper@cygnus.com>
 
        * attr.c: Finish user stack support.  Change locking code to be safe
index dba5d38fd240b3d1cd56b19f72110759e604378a..df30c35e6c4689c732114867701a0229e1813efe 100644 (file)
@@ -116,7 +116,7 @@ again:
 int __pthread_has_cas = 0;
 #endif
 
-#ifndef HAS_COMPARE_AND_SWAP
+#if !defined HAS_COMPARE_AND_SWAP || defined TEST_FOR_COMPARE_AND_SWAP
 
 static void __pthread_acquire(int * spinlock);