This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: 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.


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