about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sparc
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-11-15 08:46:30 +0000
committerAndreas Jaeger <aj@suse.de>2000-11-15 08:46:30 +0000
commita6c1c03a440ec55e427844ba851eed1ea2c95c95 (patch)
treefd63a016f9ad7a0bbd35a3848864560ce11fa9bd /sysdeps/unix/sysv/linux/sparc
parentad1a5cc746c507ddd9b31cae653aefe3fac7a249 (diff)
downloadglibc-a6c1c03a440ec55e427844ba851eed1ea2c95c95.tar.gz
glibc-a6c1c03a440ec55e427844ba851eed1ea2c95c95.tar.xz
glibc-a6c1c03a440ec55e427844ba851eed1ea2c95c95.zip
Update.
2000-11-15  Andreas Jaeger  <aj@suse.de>

	* elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
	(print_entry): Likewise.
	(add_to_cache): Likewise.

	* elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.

	* elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
	(path_hwcap): Likewise.
	(search_dir): Likewise.

	* sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.

	* elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.

	* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
	(_dl_platform_string): New. 
	(_DL_HWCAP_PLATFORM): New.
	(_dl_string_platform): New.
	* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.

	* sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
	(_dl_string_platform): New.
	(_DL_HWCAP_PLATFORM): New.
	(_dl_platform_string): New.

	* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
	recognition.
	(_DL_HWCAP_COUNT): New.
	(_dl_string_platform): New.
	(_DL_HWCAP_PLATFORM): New.
	(_dl_platform_string): New.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h8
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h8
2 files changed, 16 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h b/sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
index 8a825a64c5..adfe4be05c 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
@@ -68,4 +68,12 @@ _dl_string_hwcap (const char *str)
 
 #define HWCAP_IMPORTANT (HWCAP_SPARC_V9)
 
+/* There are no different platforms defined.  */
+#define _dl_platform_string(idx) ""
+
+/* There're no platforms to filter out.  */
+#define _DL_HWCAP_PLATFORM 0
+
+#define _dl_string_platform(str) (-1)
+
 #endif /* dl-procinfo.h */
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h b/sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
index 7825937733..78bd5c883c 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
@@ -69,4 +69,12 @@ _dl_string_hwcap (const char *str)
 
 #define HWCAP_IMPORTANT (0)
 
+/* There are no different platforms defined.  */
+#define _dl_platform_string(idx) ""
+
+/* There're no platforms to filter out.  */
+#define _DL_HWCAP_PLATFORM 0
+
+#define _dl_string_platform(str) (-1)
+
 #endif /* dl-procinfo.h */