aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libc-symbols.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 10232bf..d30ac67 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -269,13 +269,21 @@
#if DO_VERSIONING
# ifdef __ASSEMBLER__
# define symbol_version(real, name, version) \
+ _symbol_version(real, name, version)
+# define _symbol_version(real, name, version) \
.symver real, name##@##version
# define default_symbol_version(real, name, version) \
+ _default_symbol_version(real, name, version)
+# define _default_symbol_version(real, name, version) \
.symver real, name##@##@##version
# else
# define symbol_version(real, name, version) \
+ _symbol_version(real, name, version)
+# define _symbol_version(real, name, version) \
__asm__ (".symver " #real "," #name "@" #version)
# define default_symbol_version(real, name, version) \
+ _default_symbol_version(real, name, version)
+# define _default_symbol_version(real, name, version) \
__asm__ (".symver " #real "," #name "@@" #version)
# endif
#else