diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | include/libc-symbols.h | 8 |
2 files changed, 14 insertions, 0 deletions
@@ -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 |