From 2ae13e200c9d032a98e184f7aca5288d572c7251 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 22 Mar 2000 06:04:32 +0000 Subject: (compat_symbol): New macro. * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use compat_symbol macro. --- sysdeps/gnu/siglist.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sysdeps/gnu') diff --git a/sysdeps/gnu/siglist.c b/sysdeps/gnu/siglist.c index 0fc4318..0cb30df 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) -- cgit v1.1