* 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>
This commit is contained in:
Ulrich Drepper 2002-04-03 06:59:37 +00:00
parent 8693ad52d9
commit b028b8ad4e
4 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,16 @@
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

View 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;

View 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
= {

View 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