summaryrefslogtreecommitdiff
path: root/sysdeps
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 /sysdeps
parentfe0b1e854ad32a69b26041031c3382b9eb772bb5 (diff)
Typo fix.
(HWCAP_IMPORTANT): Include HWCAP_SPARC_V9 when [__WORDSIZE != 64].
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/sparc/dl-procinfo.c2
-rw-r--r--sysdeps/sparc/dl-procinfo.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/sparc/dl-procinfo.c b/sysdeps/sparc/dl-procinfo.c
index 55677be6ae..c8bb614936 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 a90a489005..004e5a905a 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. */