aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-27 06:20:43 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-27 06:20:43 +0000
commit8b943b4a697d1029b7f685ad88f88fbd7f6a2389 (patch)
treedf337d806a88b962eb729f6f264c4eddaf80bd69 /include
parent1a3eefef699f8330863bfb54e4cf0adaf616ab71 (diff)
downloadglibc-8b943b4a697d1029b7f685ad88f88fbd7f6a2389.tar
glibc-8b943b4a697d1029b7f685ad88f88fbd7f6a2389.tar.gz
glibc-8b943b4a697d1029b7f685ad88f88fbd7f6a2389.tar.bz2
glibc-8b943b4a697d1029b7f685ad88f88fbd7f6a2389.zip
Update.
2000-06-26 Ulrich Drepper <drepper@redhat.com> * include/libc-symbols.h (symbol_version): Add extra level of macro expansion. (default_symbol_version): Likewise.
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 10232bfdd4..d30ac674f0 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