This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]