[PATCH] Move DONT_USE_BOOTSTRAP_MAP defininition to dl-machine.h

Ulrich Drepper drepper@redhat.com
Sun Aug 25 02:11:00 GMT 2002


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

Jakub Jelinek wrote:

> __attribute__((visibility("hidden"))) does not guarantee no .got
> references on all arches (well, only on the few where there are suitable
> relocations etc.).

I've checked in a patch for this.  Machine-dependent configure files 
have to define PI_STATIC_AND_HIDDEN (PI = position-independent).  If 
this symbol is defined and HAVE_HIDDEN is defined and 
HAVE_VISIBILITY_ATTRIBUTE is defined we use the new and improved way of 
handling startup in ld.so.

For x86 we unconditionally define PI_STATIC_AND_HIDDEN (note, that any 
user of the macro has to make sure that the symbol visibility is 
suppoerted as well).  For other architectures defining this symbol might 
require running tests.

- -- 
- ---------------.                          ,-.   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

iD8DBQE9aJ892ijCOnn/RHQRAl70AKCuiAPU01MF9pdSyy0TPD7yG1BpygCgwDxI
qB5X/o8IlbkmWUwDqmucx50=
=ESKk
-----END PGP SIGNATURE-----



More information about the Libc-hacker mailing list