1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00
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.
This commit is contained in:
Ulrich Drepper
2001-04-05 20:45:54 +00:00
parent 8912b9aa26
commit 5e01438702
6 changed files with 113 additions and 14 deletions

View File

@ -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) ""

View File

@ -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) ""