linux-mips build fix

Ulrich Drepper drepper@redhat.com
Thu Sep 19 10:25:00 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Franz Sirl wrote:

> Sorry, one word is missing, I meant it's available for runtime linking, 
> after all this was one of the reasons why HIDDEN was introduced after 
> all, or?

Local symbols are not added to the dynamic symbol table and therefore 
are not available at runtime.  LOCAL symbols can have whatever 
visibility they have, it doesn't matter at runtime.

The only difference is that if you mark a symbol with extern scope as 
hidden the compiler will be able to perform some optimizations.  In case 
of function calls this is only the case for platforms like SH4 where 
function calls are effectively variable references.  For all other 
platforms, I think, the linker is able to perform the optimizations.

- -- 
- ---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9igiC2ijCOnn/RHQRAv0NAKCbNWGCphoD1dTbvga8+sF3bUuf3wCcCA3E
OEzw/yM8nyOJ/k8wmBQDabU=
=CLMX
-----END PGP SIGNATURE-----



More information about the Libc-alpha mailing list