Jakub Jelinek <ja...@redhat.com> writes:

>> @@ -424,3 +424,8 @@ __cpu_indicator_init (void)
>>  
>>    return 0;
>>  }
>> +
>> +#if defined SHARED && !defined _WIN32
>> +__asm__ (".symver __cpu_indicator_init, __cpu_indicator_init@GCC_4.8.0");
>> +__asm__ (".symver __cpu_model, __cpu_model@GCC_4.8.0");
>> +#endif
>
> Will this work on Solaris?
> I'd say you at least want to also guard with some configure check if
> .symver is supported by assembler.

This will never work on Solaris: even if the assembler supports .symver,
ld.so.1 never will.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to