This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


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: Enable IFUNC in libc.a


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

H.J. Lu wrote:
> In libc.a, before __libc_csu_init, we can't call any IFUNC functions.
> This patch adds <direct-symbols.h> and include it in files where IFUNC
> functions are called before __libc_csu_init. The __GI__ version of those
> functions will be called instead.

This adds lots of ugly code and sources for possible problems.  And for
what?  For static linking which shouldn't be used in the first place.  I
reluctantly accepted adding any IFUNC support for static linking so that
3rd party code can use it.  But inside libc I really don't want it.  The
code is complex enough.

- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkqURm8ACgkQ2ijCOnn/RHST4wCeJ11JRaMfIfRm5WNH64YlIWzG
34oAoI6B+xJjr6HNvH9RTH2F5d16TXgn
=C3xp
-----END PGP SIGNATURE-----


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