On 20/07/16 15:13, David Edelsohn wrote:
> On Wed, Jul 20, 2016 at 7:09 AM, Szabolcs Nagy <szabolcs.n...@arm.com> wrote:
>> On 20/07/16 14:45, David Edelsohn wrote:
>>>> Musl libc does not support gnu ifunc, so disable it by default.
>>>> (not disabled on s390-* since that has no musl support yet.)
>>>
>>> Musl libc now supports PPC64. Support for s390 is in progress.
>>>
>>
>> it seemed to me that on ppc64 ifunc is disabled by default.
>> (at least it is not enabled in config.gcc)
> 
> Ifunc is used on PPC64.
> 

only if you build gcc with --enable-gnu-indirect-function

otherwise the ifunc attribute does not work, and target
libs (e.g. libatomic on x86_64) don't use ifunc.

in glibc i think you need --enable-multiarch to use ifunc,
but it handles ifunc in user code independently of that.

i just want to make sure that --enable-gnu-indirect-function
is not the default with *-musl (since musl has no ifunc support).

Reply via email to