about summary refs log tree commit diff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-05 20:45:54 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-05 20:45:54 +0000
commit5e01438702688db6e26eab8aee262924c7065ecc (patch)
tree21dae43cfa04a919f1bb81a834a4897154dea45a /sysdeps/unix/sysv
parent8912b9aa26801f857e1667e5b80f3612610378cc (diff)
downloadglibc-5e01438702688db6e26eab8aee262924c7065ecc.tar.gz
glibc-5e01438702688db6e26eab8aee262924c7065ecc.tar.xz
glibc-5e01438702688db6e26eab8aee262924c7065ecc.zip
Update.
2001-04-05  David S. Miller  <davem@redhat.com>

	* elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
	* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
	capability flags table and HWCAP_IMPORTANT, increase
	_DL_HWCAP_COUNT to 6.
	* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h6
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h b/sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
index 39cb8419f8..61d9d8c000 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
@@ -27,9 +27,9 @@
    is still ok with the given array size.  */
 static const char sparc32_cap_flags[][7] =
   {
-    "flush", "stbar", "swap", "muldiv", "v9"
+    "flush", "stbar", "swap", "muldiv", "v9", "ultra3"
   };
-#define _DL_HWCAP_COUNT 5
+#define _DL_HWCAP_COUNT 6
 
 static inline int
 __attribute__ ((unused))
@@ -68,7 +68,7 @@ _dl_string_hwcap (const char *str)
   return -1;
 };
 
-#define HWCAP_IMPORTANT (HWCAP_SPARC_V9)
+#define HWCAP_IMPORTANT (HWCAP_SPARC_V9|HWCAP_SPARC_ULTRA3)
 
 /* There are no different platforms defined.  */
 #define _dl_platform_string(idx) ""
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h b/sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
index 5833902b17..23bfd47749 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
@@ -27,9 +27,9 @@
    is still ok with the given array size.  */
 static const char sparc64_cap_flags[][7] =
   {
-    "flush", "stbar", "swap", "muldiv", "v9"
+    "flush", "stbar", "swap", "muldiv", "v9", "ultra3"
   };
-#define _DL_HWCAP_COUNT 5
+#define _DL_HWCAP_COUNT 6
 
 static inline int
 __attribute__ ((unused))
@@ -69,7 +69,7 @@ _dl_string_hwcap (const char *str)
   return -1;
 };
 
-#define HWCAP_IMPORTANT (0)
+#define HWCAP_IMPORTANT (HWCAP_SPARC_ULTRA3)
 
 /* There are no different platforms defined.  */
 #define _dl_platform_string(idx) ""