[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ltdl support for versioned symbols
From: |
Ralf Wildenhues |
Subject: |
Re: ltdl support for versioned symbols |
Date: |
Sat, 12 Mar 2011 20:46:42 +0100 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
Hi Ludovic,
* Ludovic Courtès wrote on Sat, Mar 12, 2011 at 02:35:11PM CET:
> I’m thinking about adding this to ltdl:
>
> void *lt_dlvsym (lt_dlhandle HANDLE, const char *NAME,
> const char *VERSION);
>
> On GNU systems[*], this would call ‘dlvsym’; on other systems, it would
> call ‘lt_dlsym’.
Hmmyes, maybe.
You know about copyright assignment for nontrivial additions, HACKING,
and that we love to see testsuite coverage for new features, I suppose?
;-)
> [*] Solaris ld supports symbol versioning but seems to lack ‘dlvsym’.
However, it seems to have a bit weaker way of verifying the presence of
some version in a shared library by calling dlsym (handle, version):
http://www.shrubbery.net/solaris9ab/SUNWdev/LLM/p26.html#CHAPTER5-IX522
Maybe there is a way to exploit this reduced functionality as well.
Can you test on Solaris?
> Are there other systems that support it?
AFAIK not, but I haven't checked specifically.
Cheers,
Ralf