aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-02-25 01:52:14 +0000
committerRoland McGrath <roland@gnu.org>2006-02-25 01:52:14 +0000
commit464dce57cc94ec32cb3b02462e99866750f6cefb (patch)
tree2e3c479f23d90d606b113a1fb5997e356eb2ea6f
parentfe0b1e854ad32a69b26041031c3382b9eb772bb5 (diff)
downloadglibc-464dce57cc94ec32cb3b02462e99866750f6cefb.zip
glibc-464dce57cc94ec32cb3b02462e99866750f6cefb.tar.gz
glibc-464dce57cc94ec32cb3b02462e99866750f6cefb.tar.bz2
Typo fix.
(HWCAP_IMPORTANT): Include HWCAP_SPARC_V9 when [__WORDSIZE != 64].
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/sparc/dl-procinfo.c2
-rw-r--r--sysdeps/sparc/dl-procinfo.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 74064c8..ab2d56e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,7 +4,7 @@
* sysdeps/sparc/dl-procinfo.c: ... here, new file.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Moved to ...
* sysdeps/sparc/dl-procinfo.h: ... here, new file.
- (HWCAP_IMPORTANT): Include HWCAP_SPARC_V9 when [__WORDSIZE__ != 64].
+ (HWCAP_IMPORTANT): Include HWCAP_SPARC_V9 when [__WORDSIZE != 64].
* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c: File removed.
* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: File removed.
diff --git a/sysdeps/sparc/dl-procinfo.c b/sysdeps/sparc/dl-procinfo.c
index 55677be..c8bb614 100644
--- a/sysdeps/sparc/dl-procinfo.c
+++ b/sysdeps/sparc/dl-procinfo.c
@@ -47,7 +47,7 @@
#if !defined PROCINFO_DECL && defined SHARED
._dl_sparc_cap_flags
#else
-PROCINFO_CLASS const char _dl_sparc_cap_flags[][7]
+PROCINFO_CLASS const char _dl_sparc_cap_flags[6][7]
#endif
#ifndef PROCINFO_DECL
= {
diff --git a/sysdeps/sparc/dl-procinfo.h b/sysdeps/sparc/dl-procinfo.h
index a90a489..004e5a9 100644
--- a/sysdeps/sparc/dl-procinfo.h
+++ b/sysdeps/sparc/dl-procinfo.h
@@ -64,7 +64,7 @@ _dl_string_hwcap (const char *str)
};
#include <bits/wordsize.h>
-#define HWCAP_IMPORTANT_V9 (__WORDSIZE__ == 64 ? 0 : HWCAP_SPARC_V9)
+#define HWCAP_IMPORTANT_V9 (__WORDSIZE == 64 ? 0 : HWCAP_SPARC_V9)
#define HWCAP_IMPORTANT (HWCAP_IMPORTANT_V9|HWCAP_SPARC_ULTRA3)
/* There are no different platforms defined. */