This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: Add ifunc attribute
-----BEGIN PGP SIGNED MESSAGE-----
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)
-----END PGP SIGNATURE-----