This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PowerPC's math_ldbl.h


On 02/22/2013 12:47 AM, Siddhesh Poyarekar wrote:
> On 22 February 2013 08:30, Adhemerval Zanella
> <azanella@linux.vnet.ibm.com> wrote:
>> +#ifndef ldbl_pack
>> +# define ldbl_pack   default_ldbl_pack
>> +#endif
>> +#ifndef ldbl_unpack
>> +# define ldbl_unpack default_ldbl_unpack
>> +#endif
> How about doing something similar to what I have proposed in this patch:
>
> http://sourceware.org/ml/libc-alpha/2013-02/msg00461.html
>
> That way the symbol name remains the same (ldbl_pack).
>
>
> Siddhesh

I though doing something similar to your suggestiong, but then I decided to
follow on what glibc (specially x86) does with the libc_feXXX macro. And
since the functions are static inline (I believe I should use a __always_inline
instead of just inline) the symbol's name does not really matter.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]