about summary refs log tree commit diff
path: root/sysdeps/gnu/siglist.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-03-22 06:04:32 +0000
committerRoland McGrath <roland@gnu.org>2000-03-22 06:04:32 +0000
commit2ae13e200c9d032a98e184f7aca5288d572c7251 (patch)
treef017d31d4475f9d50666676c5e5f2b1fe5383b13 /sysdeps/gnu/siglist.c
parent42f76b6bd7a3134573ddd0661e89fe7b23540de2 (diff)
downloadglibc-2ae13e200c9d032a98e184f7aca5288d572c7251.tar.gz
glibc-2ae13e200c9d032a98e184f7aca5288d572c7251.tar.xz
glibc-2ae13e200c9d032a98e184f7aca5288d572c7251.zip
(compat_symbol): New macro.
	* sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
	compat_symbol macro.
Diffstat (limited to 'sysdeps/gnu/siglist.c')
-rw-r--r--sysdeps/gnu/siglist.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/gnu/siglist.c b/sysdeps/gnu/siglist.c
index 0fc43180fa..0cb30df82f 100644
--- a/sysdeps/gnu/siglist.c
+++ b/sysdeps/gnu/siglist.c
@@ -32,7 +32,7 @@
 #endif
 
 
-#if SHLIB_COMPAT (libc, GLIBC_2_0)
+#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
 asm (".data; .globl __old_sys_siglist;  __old_sys_siglist:");
 #endif
 
@@ -43,7 +43,7 @@ const char *const __new_sys_siglist[NSIG] =
 #undef init_sig
 };
 
-#if SHLIB_COMPAT (libc, GLIBC_2_0)
+#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
 asm (".type __old_sys_siglist,@object;.size __old_sys_siglist,"
         OLD_SIGLIST_SIZE_STR "*" PTR_SIZE_STR);
 
@@ -57,7 +57,7 @@ const char *const __new_sys_sigabbrev[NSIG] =
 #undef init_sig
 };
 
-#if SHLIB_COMPAT (libc, GLIBC_2_0)
+#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
 asm (".type __old_sys_sigabbrev,@object;.size __old_sys_sigabbrev,"
         OLD_SIGLIST_SIZE_STR "*" PTR_SIZE_STR);
 
@@ -65,9 +65,9 @@ extern const char *const *__old_sys_siglist;
 extern const char *const *__old_sys_sigabbrev;
 
 strong_alias (__old_sys_siglist, _old_sys_siglist)
-symbol_version (__old_sys_siglist, _sys_siglist, GLIBC_2.0);
-symbol_version (_old_sys_siglist, sys_siglist, GLIBC_2.0);
-symbol_version (__old_sys_sigabbrev, sys_sigabbrev, GLIBC_2.0);
+compat_symbol (libc, __old_sys_siglist, _sys_siglist, GLIBC_2_0);
+compat_symbol (libc, _old_sys_siglist, sys_siglist, GLIBC_2_0);
+compat_symbol (libc, __old_sys_sigabbrev, sys_sigabbrev, GLIBC_2_0);
 #endif
 
 strong_alias (__new_sys_siglist, _new_sys_siglist)