Re: Linux-flashplugin7 & rtld - RFC
- From: Dmitry Pryanishnikov <dmitry@xxxxxxxxxxxxxx>
- Date: Tue, 20 Jun 2006 23:07:12 +0300 (EEST)
Hello!
On Tue, 20 Jun 2006, John Baldwin wrote:
This patch is somewhat redundant. Adding
__weak_reference(dlsym, _dlsym);
is enough.
Indeed, this also works for me. It would be nice to see this trivial
addition committed.
I agree. Do you have the __weak_reference() patch handy?
Sure, here is the diff against HEAD:
--- libexec/rtld-elf/rtld.c.orig Tue Mar 28 10:17:21 2006
+++ libexec/rtld-elf/rtld.c Tue Jun 20 22:35:17 2006
@@ -137,6 +137,8 @@
void r_debug_state(struct r_debug*, struct link_map*);
+__weak_reference(dlsym, _dlsym);
+
/*
* Data declarations.
*/
I'm not sure whether it's style(9)-compliant, it just works.
John Baldwin
Sincerely, Dmitry
--
Atlantis ISP, System Administrator
e-mail: dmitry@xxxxxxxxxxxxxx
nic-hdl: LYNX-RIPE
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Linux-flashplugin7 & rtld - RFC
- From: John Baldwin
- Re: Linux-flashplugin7 & rtld - RFC
- References:
- Linux-flashplugin7 & rtld - RFC
- From: Ivan Voras
- Re: Linux-flashplugin7 & rtld - RFC
- From: Hajimu UMEMOTO
- Re: Linux-flashplugin7 & rtld - RFC
- From: Dmitry Pryanishnikov
- Re: Linux-flashplugin7 & rtld - RFC
- From: John Baldwin
- Linux-flashplugin7 & rtld - RFC
- Prev by Date: Re: Journaling UFS with gjournal.
- Next by Date: Re: Often experiencing nfs server foo:/bar: not responding
- Previous by thread: Re: Linux-flashplugin7 & rtld - RFC
- Next by thread: Re: Linux-flashplugin7 & rtld - RFC
- Index(es):