aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-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 39cb841..61d9d8c 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 5833902..23bfd47 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) ""