about summary refs log tree commit diff
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.tar.gz
glibc-464dce57cc94ec32cb3b02462e99866750f6cefb.tar.xz
glibc-464dce57cc94ec32cb3b02462e99866750f6cefb.zip
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 74064c8d3d..ab2d56e955 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 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.  */