[PATCH v6 0/3] Remove the SVID wrapper from most of float functions

Adhemerval Zanella adhemerval.zanella@linaro.org
Tue Nov 4 16:19:58 GMT 2025


This patchset relocates SVID error handling support to compatibility
symbols for applicable ABIs.  SVID handling remains for deprecated
symbols gammaf and dremf.

Changes from v5:
* Added Wilco's suggestions.

Changes from v4:
* Added Wilco's suggestions.

Changes from v3:
* Fixed lgamma that still used the SVID wrapper
* Remove wrong hurd abi additions
* Remove SVID handling from most float implementations

Changes from v2:
* Update symbol versions to 2.43.

Changes from v1:
* Update symbol versions to 2.42.

Adhemerval Zanella (3):
  math: Remove the SVID error handling from lgammaf/lgammaf_r
  math: Remove the SVID error handling from atan2f
  math: Remove the SVID error handling from tgammaf

 math/Versions                                 |  4 ++
 math/lgamma-compat.h                          | 15 ++++--
 math/w_atan2f_compat.c                        | 11 ++--
 math/w_lgammaf_compat2.c                      |  2 +-
 math/w_lgammaf_main.c                         |  7 +--
 math/w_lgammaf_r_compat.c                     |  5 +-
 math/w_tgammaf_compat.c                       |  9 ++--
 sysdeps/generic/math_private_calls.h          |  2 +
 sysdeps/ieee754/flt-32/e_atan2f.c             | 24 +++++++--
 sysdeps/ieee754/flt-32/e_gammaf_r.c           | 54 +++++++++----------
 sysdeps/ieee754/flt-32/e_lgammaf_r.c          | 24 ++++++---
 sysdeps/ieee754/flt-32/math_config.h          |  1 +
 sysdeps/ieee754/flt-32/math_errf.c            |  6 +++
 sysdeps/ieee754/flt-32/w_atan2f.c             |  1 +
 sysdeps/ieee754/flt-32/w_lgammaf.c            | 17 ++++++
 sysdeps/ieee754/flt-32/w_lgammaf_r.c          |  1 +
 sysdeps/ieee754/flt-32/w_tgammaf.c            |  1 +
 sysdeps/m68k/m680x0/fpu/w_atan2f_compat.c     |  8 +++
 sysdeps/mach/hurd/i386/libm.abilist           |  4 ++
 sysdeps/unix/sysv/linux/aarch64/libm.abilist  |  4 ++
 sysdeps/unix/sysv/linux/alpha/libm.abilist    |  4 ++
 sysdeps/unix/sysv/linux/arm/be/libm.abilist   |  4 ++
 sysdeps/unix/sysv/linux/arm/le/libm.abilist   |  4 ++
 sysdeps/unix/sysv/linux/hppa/libm.abilist     |  4 ++
 sysdeps/unix/sysv/linux/i386/libm.abilist     |  4 ++
 .../sysv/linux/m68k/coldfire/libm.abilist     |  4 ++
 .../unix/sysv/linux/m68k/m680x0/libm.abilist  |  3 ++
 .../sysv/linux/microblaze/be/libm.abilist     |  4 ++
 .../sysv/linux/microblaze/le/libm.abilist     |  4 ++
 .../unix/sysv/linux/mips/mips32/libm.abilist  |  4 ++
 .../unix/sysv/linux/mips/mips64/libm.abilist  |  4 ++
 .../linux/powerpc/powerpc32/fpu/libm.abilist  |  4 ++
 .../powerpc/powerpc32/nofpu/libm.abilist      |  4 ++
 .../linux/powerpc/powerpc64/be/libm.abilist   |  4 ++
 .../linux/powerpc/powerpc64/le/libm.abilist   |  4 ++
 .../unix/sysv/linux/s390/s390-32/libm.abilist |  4 ++
 .../unix/sysv/linux/s390/s390-64/libm.abilist |  4 ++
 sysdeps/unix/sysv/linux/sh/be/libm.abilist    |  4 ++
 sysdeps/unix/sysv/linux/sh/le/libm.abilist    |  4 ++
 .../sysv/linux/sparc/sparc32/libm.abilist     |  4 ++
 .../sysv/linux/sparc/sparc64/libm.abilist     |  4 ++
 .../unix/sysv/linux/x86_64/64/libm.abilist    |  4 ++
 .../unix/sysv/linux/x86_64/x32/libm.abilist   |  4 ++
 43 files changed, 233 insertions(+), 58 deletions(-)
 create mode 100644 sysdeps/ieee754/flt-32/w_atan2f.c
 create mode 100644 sysdeps/ieee754/flt-32/w_lgammaf.c
 create mode 100644 sysdeps/ieee754/flt-32/w_lgammaf_r.c
 create mode 100644 sysdeps/ieee754/flt-32/w_tgammaf.c
 create mode 100644 sysdeps/m68k/m680x0/fpu/w_atan2f_compat.c

-- 
2.43.0



More information about the Libc-alpha mailing list