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