* [PATCH] Fix siglist.c
@ 2006-11-09 23:27 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2006-11-09 23:27 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: Glibc hackers
Hi!
I have only tested declare_symbol_alias patch on x86-64 so missed
the chunk of code which is present only for older glibc symvers.
Sorry for that, here is the fix for i?86/ppc/etc.
2006-11-10 Jakub Jelinek <jakub@redhat.com>
* sysdeps/gnu/siglist.c (__old_sys_siglist, __old_sys_sigabbrev):
Use __new_sys_siglist instead of _sys_siglist_internal as
second macro argument.
(_old_sys_siglist): Use declare_symbol_alias macro instead of
strong_alias.
--- libc/sysdeps/gnu/siglist.c 2006-11-09 22:34:50.000000000 +0100
+++ libc/sysdeps/gnu/siglist.c 2006-11-09 22:34:50.000000000 +0100
@@ -40,13 +40,15 @@ const char *const __new_sys_sigabbrev[NS
strong_alias (__new_sys_sigabbrev, _sys_sigabbrev_internal)
#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
-declare_symbol_alias (__old_sys_siglist, _sys_siglist_internal, object,
+declare_symbol_alias (__old_sys_siglist, __new_sys_siglist, object,
OLD_SIGLIST_SIZE * __WORDSIZE / 8)
-declare_symbol_alias (__old_sys_sigabbrev, _sys_sigabbrev_internal, object,
+declare_symbol_alias (__old_sys_sigabbrev, __new_sys_sigabbrev, object,
+ OLD_SIGLIST_SIZE * __WORDSIZE / 8)
+
+declare_symbol_alias (_old_sys_siglist, __new_sys_siglist, object,
OLD_SIGLIST_SIZE * __WORDSIZE / 8)
-strong_alias (__old_sys_siglist, _old_sys_siglist)
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);
Jakub
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-11-09 23:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-09 23:27 [PATCH] Fix siglist.c Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).