about summary refs log tree commit diff
path: root/sysdeps/sparc/dl-procinfo.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-02-25 01:57:49 +0000
committerRoland McGrath <roland@gnu.org>2006-02-25 01:57:49 +0000
commit2e636c3db77bbbbbd95f7756d860f51ef1588645 (patch)
tree80419fe90241bef9aea927137b25b9a3ed513783 /sysdeps/sparc/dl-procinfo.h
parent464dce57cc94ec32cb3b02462e99866750f6cefb (diff)
downloadglibc-2e636c3db77bbbbbd95f7756d860f51ef1588645.tar.gz
glibc-2e636c3db77bbbbbd95f7756d860f51ef1588645.tar.xz
glibc-2e636c3db77bbbbbd95f7756d860f51ef1588645.zip
* 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 <davem@sunset.davemloft.net>.
Diffstat (limited to 'sysdeps/sparc/dl-procinfo.h')
-rw-r--r--sysdeps/sparc/dl-procinfo.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/sparc/dl-procinfo.h b/sysdeps/sparc/dl-procinfo.h
index 004e5a905a..dde02b556c 100644
--- a/sysdeps/sparc/dl-procinfo.h
+++ b/sysdeps/sparc/dl-procinfo.h
@@ -24,7 +24,7 @@
 
 #include <ldsodefs.h>
 
-#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 <bits/wordsize.h>
-#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) ""