Symbol versioning in dlopen modules
H . J . Lu
hjl@lucon.org
Mon Jun 3 15:11:00 GMT 2002
On Mon, Jun 03, 2002 at 05:05:04PM -0500, Zoltan Hidvegi wrote:
> H . J . Lu wrote:
> > You can't reference a versioned symbol without telling ld where that
> > versioned symbol comes from. Ld will drop the version in that case
> >
> > # objdump --dynamic-sym lib3.so | grep message
> > 00000000 D *UND* 00000000 message
>
> So this means that there is no way a dlopen loaded module can refer to
> an undefined versioned symbol to be resolved from main?
>
Yes.
# objdump -p ...
...
Version References:
required from libc.so.6:
^^^^^^^^^^^^^^^^^^^^^^^
0x09691f73 0x00 05 GLIBC_2.1.3
0x0d696910 0x00 04 GLIBC_2.0
Do you see version reference has 2 parts?
H.J.
More information about the Binutils
mailing list