Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 3 Apr 2002 06:59:37 +0000 (06:59 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 3 Apr 2002 06:59:37 +0000 (06:59 +0000)
* sysdeps/unix/sysv/linux/arm/dl-procinfo.c: Completely specify
size of _dl_arm_cap_flags.
Patch by enrico.scholz@informatik.tu-chemnitz.de [PR libc/3155].

* sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
Define as 8.

2002-03-22  H.J. Lu  <hjl@gnu.org>

* scripts/firstversions.awk: Check the first version.

2002-04-02  Ulrich Drepper  <drepper@redhat.com>

ChangeLog
scripts/firstversions.awk
sysdeps/unix/sysv/linux/arm/dl-procinfo.c
sysdeps/unix/sysv/linux/arm/dl-procinfo.h

index 49cad44..b6ca5eb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,18 @@
 2002-04-02  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: Completely specify
+       size of _dl_arm_cap_flags.
+       Patch by enrico.scholz@informatik.tu-chemnitz.de [PR libc/3155].
+
+       * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
+       Define as 8.
+
+2002-03-22  H.J. Lu  <hjl@gnu.org>
+
+       * scripts/firstversions.awk: Check the first version.
+
+2002-04-02  Ulrich Drepper  <drepper@redhat.com>
+
        * elf/dl-deps.c (_dl_map_object_deps): The sorting of the
        dependencies must be stable to work correctly.
        Reported by martin.lubich@datacon.at.
index 736ef03..1a500f4 100644 (file)
@@ -27,7 +27,8 @@ $1 == "}" {
   if ((thislib, idx[thislib]) in firstversion) {
     # XXX relative string comparison loses if we ever have multiple digits
     # between dots in GLIBC_x.y[.z] names.
-    v = firstversion[thislib, idx[thislib]];
+    f = firstversion[thislib, idx[thislib]];
+    v = f;
     while ($1 >= v) {
       firstversion[thislib, idx[thislib]] = 0;
       idx[thislib]++;
@@ -36,7 +37,7 @@ $1 == "}" {
       else
         break;
     }
-    if ($1 >= v)
+    if ($1 >= v || $1 == f)
       print;
     else
       print $1, "=", v;
index 9c6476c..9acd079 100644 (file)
@@ -46,7 +46,7 @@ EXTERN
 #if !defined PROCINFO_DECL && defined SHARED
   ._dl_arm_cap_flags
 #else
-const char _dl_arm_cap_flags[][10]
+const char _dl_arm_cap_flags[8][10]
 #endif
 #ifndef PROCINFO_DECL
 = {
index 7e7e66e..0ced274 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <ldsodefs.h>
 
-#define _DL_HWCAP_COUNT 32
+#define _DL_HWCAP_COUNT 8
 
 /* The kernel provides platform data but it is not interesting.  */
 #define _DL_HWCAP_PLATFORM     0