about summary refs log tree commit diff
path: root/include/libc-symbols.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-07-08 06:23:55 +0000
committerUlrich Drepper <drepper@redhat.com>2001-07-08 06:23:55 +0000
commita2a89dd6ced7d42b95550f9f02c52d60c7626715 (patch)
treea6215a2e2c2f0342d444723b6332641ed4f9d9ca /include/libc-symbols.h
parent1a35b7fd42a4960fc8dfca2696ad9b644e3243bd (diff)
downloadglibc-a2a89dd6ced7d42b95550f9f02c52d60c7626715.tar.gz
glibc-a2a89dd6ced7d42b95550f9f02c52d60c7626715.tar.xz
glibc-a2a89dd6ced7d42b95550f9f02c52d60c7626715.zip
Update.
	* include/libc-symbols.h: Provide more dummy definitions for the
	case if GNU ld isn't used.
Diffstat (limited to 'include/libc-symbols.h')
-rw-r--r--include/libc-symbols.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 0c8a28824c..fc510763f1 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -297,6 +297,16 @@
 #  define symbol_set_end_p(set, ptr)	(*(ptr) == 0)
 
 # endif	/* ELF.  */
+#else
+/* We cannot do anything in generial.  */
+# define text_set_element(set, symbol) asm ("")
+# define data_set_element(set, symbol) asm ("")
+# define bss_set_element(set, symbol) asm ("")
+# define symbol_set_define(set)		void *const (set)[1];
+# define symbol_set_declare(set)	extern void *const (set)[1];
+
+# define symbol_set_first_element(set)	&(set)[1]
+# define symbol_set_end_p(set, ptr)	(*(ptr) == 0)
 #endif	/* Have GNU ld.  */
 
 #if DO_VERSIONING