On Mon, 20 Jan 2020, H.J. Lu wrote:
> For,
> 
> ---
> __attribute__((target_clones("avx","default")))
> int
> foo ()
> {
>   return -2;
> }
> ----
> 
> foo's resolver must be global.  For
> 
> ---
> __attribute__((target_clones("avx","default")))
> static int
> foo ()
> {
>   return -2;
> }
> ---
> 
> foo's resolver must be static.

Bare IFUNC's don't seem to have this restriction. Why do we want to
constrain target clones this way?

Alexander

Reply via email to