This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Add ifunc attribute
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jakub Jelinek wrote:
> Yeah, I agree. Having to tweak headers through ugly hacks to avoid the real
> prototype to be visible in order to define ifunc function would be a very
> bad idea.
The solution is simple: don't allow ifunc attribute for prototypes.
They only ever should be added to definitions. No user of the function
should care about the function being IFUNC instead of FUNC.
- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAko0DXkACgkQ2ijCOnn/RHRiywCdHzIARtyleTruvvNjARZequjK
W9kAoImKrhben7r6j6kyaDlMSAFco7vx
=Af3I
-----END PGP SIGNATURE-----