[PATCH 3/4] New expf and exp2f version without SVID compat wrapper

Joseph Myers joseph@codesourcery.com
Wed Sep 13 20:17:00 GMT 2017


On Wed, 13 Sep 2017, Szabolcs Nagy wrote:

> This patch changes the expf and exp2f error handling
> semantics to only set errno accoring to POSIX rules.
> New symbol version is introduced at GLIBC_2.27.
> 
> The old wrappers are kept for compat symbols (with
> GLIBC_2_0 version and unchanged error semantics).
> 
> Internal calls to __expf now get the new error semantics,
> this seems to only affect sysdeps/i386/fpu/s_expm1f.S
> where the errno-only behaviour should be correct.
> 
> All linux libm abilists are updated (even ones where i
> could not build a working toolchain).

To confirm: does just adding the versions to Versions like you did 
actually work to get the symbols exported for both versions on ia64 (which 
does not use the common wrappers)?  (I'm fine with having both versions 
point to the same functions there, as long as the versions do really exist 
as indicated in the ABI baseline.)

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list