about summary refs log tree commit diff
path: root/sysdeps/generic/dl-procinfo.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-05-05 15:33:39 +0000
committerAndreas Jaeger <aj@suse.de>2000-05-05 15:33:39 +0000
commit0b6301682ba9d0e246a52e9039ff40dedc719a80 (patch)
treefd57cb51119b3e5cccb2f47342d1f5f1d0316c6b /sysdeps/generic/dl-procinfo.h
parent621d9092d7fe4ff16816d61aa7036716f14a557f (diff)
downloadglibc-0b6301682ba9d0e246a52e9039ff40dedc719a80.tar.gz
glibc-0b6301682ba9d0e246a52e9039ff40dedc719a80.tar.xz
glibc-0b6301682ba9d0e246a52e9039ff40dedc719a80.zip
Update.
	* sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
	(_dl_string_hwcap): New, does nothing.

	* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT):
	New.
	(_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
	(_dl_string_hwcap): New function, converts from string to hwcap
	encoding.
	* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_DL_HWCAP_COUNT):
	New.
	(_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
	(_dl_string_hwcap): New function, converts from string to hwcap
	encoding.
	* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_DL_HWCAP_COUNT):
	New.
	(_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
	(_dl_string_hwcap): New function, converts from string to hwcap
	encoding.
	
Diffstat (limited to 'sysdeps/generic/dl-procinfo.h')
-rw-r--r--sysdeps/generic/dl-procinfo.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-procinfo.h b/sysdeps/generic/dl-procinfo.h
index 5592ec00d5..180a08b7c2 100644
--- a/sysdeps/generic/dl-procinfo.h
+++ b/sysdeps/generic/dl-procinfo.h
@@ -1,5 +1,5 @@
 /* Stub version of processor capability information handling macros.
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -30,4 +30,9 @@
 /* By default there is no important hardware capability.  */
 #define HWCAP_IMPORTANT (0)
 
+/* We don't have any hardware capabilities.  */
+#define _DL_HWCAP_COUNT 0
+
+#define _dl_string_hwcap(str) (-1)
+
 #endif /* dl-procinfo.h */