about summary refs log tree commit diff
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
parent1a3eefef699f8330863bfb54e4cf0adaf616ab71 (diff)
downloadglibc-8b943b4a697d1029b7f685ad88f88fbd7f6a2389.tar.gz
glibc-8b943b4a697d1029b7f685ad88f88fbd7f6a2389.tar.xz
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.
-rw-r--r--ChangeLog6
-rw-r--r--include/libc-symbols.h8
2 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1ce0773273..56e010cc11 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-06-26  Ulrich Drepper  <drepper@redhat.com>
+
+	* include/libc-symbols.h (symbol_version): Add extra level of
+	macro expansion.
+	(default_symbol_version): Likewise.
+
 2000-06-26  Greg McGary  <greg@mcgary.org>
 
 	* sysdeps/i386/bp-asm.h (POP_ERRNO_LOCATION_RETURN): Fold insns.
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