From 2e636c3db77bbbbbd95f7756d860f51ef1588645 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 25 Feb 2006 01:57:49 +0000 Subject: * elf/elf.h (HWCAP_SPARC_BLKINIT): New macro. * sysdeps/sparc/dl-procinfo.h (HWCAP_IMPORTANT): Add it. (_DL_HWCAP_COUNT): Increase to 7. * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add "v9v". From David S. Miller . --- sysdeps/sparc/dl-procinfo.c | 6 ++---- sysdeps/sparc/dl-procinfo.h | 7 ++++--- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'sysdeps/sparc') diff --git a/sysdeps/sparc/dl-procinfo.c b/sysdeps/sparc/dl-procinfo.c index c8bb614..71f76aa 100644 --- a/sysdeps/sparc/dl-procinfo.c +++ b/sysdeps/sparc/dl-procinfo.c @@ -47,12 +47,10 @@ #if !defined PROCINFO_DECL && defined SHARED ._dl_sparc_cap_flags #else -PROCINFO_CLASS const char _dl_sparc_cap_flags[6][7] +PROCINFO_CLASS const char _dl_sparc_cap_flags[7][7] #endif #ifndef PROCINFO_DECL -= { - "flush", "stbar", "swap", "muldiv", "v9", "ultra3" - } + = { "flush", "stbar", "swap", "muldiv", "v9", "ultra3", "v9v" }; #endif #if !defined SHARED || defined PROCINFO_DECL ; diff --git a/sysdeps/sparc/dl-procinfo.h b/sysdeps/sparc/dl-procinfo.h index 004e5a9..dde02b5 100644 --- a/sysdeps/sparc/dl-procinfo.h +++ b/sysdeps/sparc/dl-procinfo.h @@ -24,7 +24,7 @@ #include -#define _DL_HWCAP_COUNT 6 +#define _DL_HWCAP_COUNT 7 static inline int __attribute__ ((unused)) @@ -64,8 +64,9 @@ _dl_string_hwcap (const char *str) }; #include -#define HWCAP_IMPORTANT_V9 (__WORDSIZE == 64 ? 0 : HWCAP_SPARC_V9) -#define HWCAP_IMPORTANT (HWCAP_IMPORTANT_V9|HWCAP_SPARC_ULTRA3) +#define HWCAP_IMPORTANT_V9 (__WORDSIZE == 64 ? 0 : HWCAP_SPARC_V9) +#define HWCAP_IMPORTANT (HWCAP_IMPORTANT_V9 | HWCAP_SPARC_ULTRA3 \ + | HWCAP_SPARC_BLKINIT) /* There are no different platforms defined. */ #define _dl_platform_string(idx) "" -- cgit v1.1