This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: invalid IFUNC DW_AT_linkage_name: memmove strstr time
> > Can you make this __libc_time and let the __GI_* magic name
> > come from libc_hidden_def as normal?
>
> I don't think it is possible since we have changed time with
>
> /* Redefine time so that the compiler won't complain about the type
> mismatch with the IFUNC selector in strong_alias, below. */
> #undef time
> #define time __redirect_time
Are you sure? If libc_hidden_def comes after strong_alias, then
strong_alias will have declared time with the __libc_time signature.
If that doesn't work, what about:
#undef time
strong_alias (__libc_time, time)
libc_hidden_ver (__libc_time, time)
or something like that?
Please try to find a permutation that avoids encoding the __GI_* convention
in this source file if we can avoid it.
Thanks,
Roland