Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 8 Oct 2003 21:12:18 +0000 (21:12 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 8 Oct 2003 21:12:18 +0000 (21:12 +0000)
2003-10-08  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Don't generate
two identical copies of strings.

ChangeLog
sysdeps/generic/dl-sysdep.c

index 039f640..cd7013f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-08  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Don't generate
+       two identical copies of strings.
+
 2003-10-06  Ulrich Drepper  <drepper@redhat.com>
 
        * posix/bug-regex11.c: Add some more tests which fail so far.
index 8408e38..40dcf80 100644 (file)
@@ -454,7 +454,7 @@ _dl_important_hwcaps (const char *platform, size_t platform_len, size_t *sz,
     }
   else
     {
-      n = 1 << cnt;
+      n = 1 << (cnt - 1);
       do
        {
          n -= 2;