This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Version script help needed
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Franz Sirl wrote:
OK, I can live with that, but without documentation it got me really confused.
Would you mind to cobble up a few words explaining the Linux caveats
(intended use?) for the version script section in ld.texi?
When I have the time I'll do this. Actually, I'm writing some other
documentation which can be copied into the texinfo manual.
Hmm, wouldn't it make sense then for the version script processing to exclude
any pre-versioned symbols from the localization/globalization handling,
assuming that the user already did set the intended visibility?
There is no reason the symbol map cannot overrule the information from
the object files. The local case does not always have to be '*':
VER1 {
local:
foo;
};
Here you can have a versioned symbol in the object file which isn't
exported. This might be useful in situations where the object code is
more general, maybe used in different projects, and the DSO only has the
minimal interface.
- --
- ---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE9Tu2H2ijCOnn/RHQRAt0jAKCJfcfGEBLAc+vYo+vKM50xrnvW2ACfUaM6
xVgbh/j0VIeY2jJssYTsE2M=
=ZnDA
-----END PGP SIGNATURE-----