MiddleEnd ifunc attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everybody.

I want to use the "ifunc" Attribute within my plugin. The code should
look like: 

typedef void (bar_fn_t)(uint32_t *);
bar_fn_t bar __attribute__((ifunc("resolve_bar")));

I think I know how to build and assign attributes. It should be
something like: 
tree_cons(get_identifier("ifunc"), args, DECL_ATTRIBUTES(decl));
tree_cons(get_identifier("alias"), args, DECL_ATTRIBUTES(decl));
It just compiles fine, but bar is no "gnu_indirect_function".

Thanks for your help!

Johannes Z.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux