diff options
author | Roland McGrath <roland@gnu.org> | 2002-09-21 21:14:11 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-09-21 21:14:11 +0000 |
commit | ae221102ff58c9ca11696bfcd1fc58991f61c604 (patch) | |
tree | db3560fd99fba480a829b5cd6cd539b0379af303 /sysdeps | |
parent | d0ad0a80a68654e0dbe15977db4b5d447106f5fa (diff) | |
download | glibc-ae221102ff58c9ca11696bfcd1fc58991f61c604.tar glibc-ae221102ff58c9ca11696bfcd1fc58991f61c604.tar.gz glibc-ae221102ff58c9ca11696bfcd1fc58991f61c604.tar.bz2 glibc-ae221102ff58c9ca11696bfcd1fc58991f61c604.zip |
2002-09-21 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_PLATFORM):
Correct the value so it covers all platforms, and is computed
from _DL_PLATFORMS_COUNT rather than hard-wired.
From Andrew Suffield <asuffield@debian.org>.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/dl-procinfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/dl-procinfo.h b/sysdeps/unix/sysv/linux/i386/dl-procinfo.h index d2c547f467..1c09a0d2bd 100644 --- a/sysdeps/unix/sysv/linux/i386/dl-procinfo.h +++ b/sysdeps/unix/sysv/linux/i386/dl-procinfo.h @@ -30,7 +30,8 @@ /* Start at 48 to reserve some space. */ #define _DL_FIRST_PLATFORM 48 /* Mask to filter out platforms. */ -#define _DL_HWCAP_PLATFORM (7ULL << _DL_FIRST_PLATFORM) +#define _DL_HWCAP_PLATFORM (((1ULL << _DL_PLATFORMS_COUNT) - 1) \ + << _DL_FIRST_PLATFORM) static inline int |