From 464dce57cc94ec32cb3b02462e99866750f6cefb Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 25 Feb 2006 01:52:14 +0000 Subject: [PATCH] Typo fix. (HWCAP_IMPORTANT): Include HWCAP_SPARC_V9 when [__WORDSIZE != 64]. --- ChangeLog | 2 +- sysdeps/sparc/dl-procinfo.c | 2 +- sysdeps/sparc/dl-procinfo.h | 2 +- 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 -#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. */