]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 29 Apr 1999 10:56:31 +0000 (10:56 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 29 Apr 1999 10:56:31 +0000 (10:56 +0000)
1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.

ChangeLog
linuxthreads/ChangeLog
linuxthreads/sysdeps/sparc/sparc64/pt-machine.h
resolv/res_hconf.c

index f81dd744a55a12babbd3dd81c12d6161b03850c3..16f0742db28e52732ffcbb3cf7200eb01036f6be 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
+
 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
 
        * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
index a33730213b757fa4ece78e426d6445db47013ef3..9c45f6e7464eb24d2c221e3d6e72afc1f0649ba8 100644 (file)
@@ -1,3 +1,8 @@
+1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
+
+       * sysdeps/sparc/sparc64/pt-machine.h (__compare_and_swap): cas
+       instruction does not allow memory element to use offset.
+
 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
 
        * manager.c (pthread_allocate_stack): Optimize initialization of new
index c4489b3d826f90b9a88d8a569d039c2d8adb2e49..101b85516a1249190491c797dfd6a3b7878e1e0e 100644 (file)
@@ -1,6 +1,6 @@
 /* Machine-dependent pthreads configuration and inline functions.
    Sparc v9 version.
-   Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson <rth@tamu.edu>.
 
@@ -63,9 +63,9 @@ __compare_and_swap (long int *p, long int oldval, long int newval)
 {
   long int readval;
 
-  __asm__ __volatile__ ("cas %1, %2, %0"
+  __asm__ __volatile__ ("cas   [%4], %2, %0"
                        : "=r"(readval), "=m"(*p)
-                       : "r"(oldval), "m"(*p), "0"(newval));
+                       : "r"(oldval), "m"(*p), "r"(p), "0"(newval));
 
   return readval == newval;
 }
index ab49ccf9d64ec28129237da33e02d3b29361ec06..56b9535d5e020b23f13bb1d490cb0b3422828fd5 100644 (file)
@@ -313,7 +313,7 @@ _res_hconf_init (void)
 {
   const char *hconf_name;
   int line_num = 0;
-  char buf[256], *end, *envval;
+  char buf[256], *envval;
   FILE *fp;
 
   if (_res_hconf.initialized)