From 8b943b4a697d1029b7f685ad88f88fbd7f6a2389 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 27 Jun 2000 06:20:43 +0000 Subject: Update. 2000-06-26 Ulrich Drepper * include/libc-symbols.h (symbol_version): Add extra level of macro expansion. (default_symbol_version): Likewise. --- ChangeLog | 6 ++++++ include/libc-symbols.h | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1ce0773273..56e010cc11 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-06-26 Ulrich Drepper + + * include/libc-symbols.h (symbol_version): Add extra level of + macro expansion. + (default_symbol_version): Likewise. + 2000-06-26 Greg McGary * 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 -- cgit v1.2.3