git: libm: Add several new functions and symbol versioning
John Marino
marino at crater.dragonflybsd.org
Tue Jun 11 23:16:49 PDT 2013
commit a8a6a9161a123c760a51db32942722249315c1ba
Author: John Marino <draco at marino.st>
Date: Wed Jun 12 00:28:04 2013 +0200
libm: Add several new functions and symbol versioning
The following long double functions were added to the math library:
logl
log2l
log10l
log1pl
expm1l
acoshl
asinhl
atanhl
In addition, the FreeBSD functionality that creates symbol versioning
for libraries was adapted for FreeBSD. The first version is called
"DFLY36.0". If it is necessary to create a new version of the 3.5 or
3.6 branch, the number after the decimal will be incremented. The 3.7
branch will start with "DFLY38.0" if it needs its own version.
libm was baselined with all symbols being the same version: DFLY36.0.
With symbol versioning, it will not be necessary to increment the major
version anymore, so this library shall always be known as libm.so.4 from
this point on.
Summary of changes:
lib/libc/Versions.def | 19 ++
lib/libm/Makefile | 28 +-
lib/libm/Symbol.map | 260 ++++++++++++++++
lib/libm/i386/Makefile.inc | 2 +
lib/libm/i386/Symbol.map | 14 +
lib/libm/ld80/s_expl.c | 233 ++++++++++++--
lib/libm/ld80/s_logl.c | 716 +++++++++++++++++++++++++++++++++++++++++++
lib/libm/man/acosh.3 | 35 ++-
lib/libm/man/asinh.3 | 35 ++-
lib/libm/man/atanh.3 | 35 ++-
lib/libm/man/exp.3 | 12 +-
lib/libm/man/log.3 | 43 ++-
lib/libm/man/sin.3 | 2 +-
lib/libm/src/catrig.c | 30 +-
lib/libm/src/catrigf.c | 43 +--
lib/libm/src/e_acosh.c | 9 +-
lib/libm/src/e_acoshl.c | 87 ++++++
lib/libm/src/e_atanh.c | 8 +-
lib/libm/src/e_atanhl.c | 72 +++++
lib/libm/src/e_log.c | 8 +-
lib/libm/src/e_log10.c | 8 +-
lib/libm/src/e_log2.c | 8 +-
lib/libm/src/math.h | 18 +-
lib/libm/src/math_private.h | 296 +++++++++++++++++-
lib/libm/src/s_asinh.c | 8 +-
lib/libm/src/s_asinhl.c | 90 ++++++
lib/libm/src/s_expm1.c | 6 +-
lib/libm/src/s_log1p.c | 6 +-
lib/libm/x86_64/Makefile.inc | 2 +
lib/libm/x86_64/Symbol.map | 12 +
share/mk/bsd.lib.mk | 9 +
share/mk/bsd.symver.mk | 29 ++
share/mk/version_gen.awk | 249 +++++++++++++++
33 files changed, 2277 insertions(+), 155 deletions(-)
create mode 100644 lib/libc/Versions.def
create mode 100644 lib/libm/Symbol.map
create mode 100644 lib/libm/i386/Symbol.map
create mode 100644 lib/libm/ld80/s_logl.c
create mode 100644 lib/libm/src/e_acoshl.c
create mode 100644 lib/libm/src/e_atanhl.c
create mode 100644 lib/libm/src/s_asinhl.c
create mode 100644 lib/libm/x86_64/Symbol.map
create mode 100644 share/mk/bsd.symver.mk
create mode 100644 share/mk/version_gen.awk
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a8a6a9161a123c760a51db32942722249315c1ba
--
DragonFly BSD source repository
More information about the Commits
mailing list