summaryrefslogtreecommitdiff
path: root/include/libc-symbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libc-symbols.h')
-rw-r--r--include/libc-symbols.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 66d7eed0d0..b7433eef42 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -325,4 +325,11 @@ extern const char _libc_intl_domainname[];
# endif /* ELF. */
#endif /* Have GNU ld. */
+#if DO_VERSIONING
+# define symbol_version(real, name, version) \
+ __asm__ (".symver " #real "," #name "@" #version)
+#else
+# define symbol_version(real, name, version)
+#endif
+
#endif /* libc-symbols.h */