This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 09/12] ldbl-128ibm-compat: Provide nexttoward functions
On Wed, 20 Jun 2018, Tulio Magno Quites Machado Filho wrote:
> Joseph Myers <joseph@codesourcery.com> writes:
>
> > On Tue, 19 Jun 2018, Tulio Magno Quites Machado Filho wrote:
> >
> >> __nexttowardieee128 (as an alias to __nextafterieee128)
> >
> > Is there an advantage to having this alias over having another #define in
> > math.h like those used for drem and gamma?
>
> No. However, changing it breaks math/test-tgmath.c as it defines its own
> nextafterl and nexttowardl in the same compilation unit, causing the assembler
> to fail with:
> /tmp/ccE9ypFK.s: Assembler messages:
> /tmp/ccE9ypFK.s:22067: Error: symbol `__nextafterieee128' is already defined
>
> Any suggestions on how to proceed?
I suppose in that case adding the alias is reasonable.
--
Joseph S. Myers
joseph@codesourcery.com