diff options
Diffstat (limited to 'include/libc-symbols.h')
-rw-r--r-- | include/libc-symbols.h | 8 |
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 |