aboutsummaryrefslogtreecommitdiff
path: root/include/libc-symbols.h
diff options
context:
space:
mode:
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