This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Add ifunc attribute
On Tue, Jun 23, 2009 at 7:19 PM, H.J. Lu<hjl.tools@gmail.com> wrote:
> Hi,
>
> I opened a bug report:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40528
>
> with the third proposal:
>
> 3. Ifunc attribute with prototype, but without argument:
>
> int
> __attribute__ ((ifunc))
> foo (...)
> {
> ?<return address of foo_{1,2,3}>
> }
>
> We can call foo in the same file. Gcc checks the return value for
> foo.
>
> Any comments?
I don't understand this third proposal.
Richard.