libm: Add several new functions and symbol versioning
authorJohn Marino <draco@marino.st>
Tue, 11 Jun 2013 22:28:04 +0000 (00:28 +0200)
committerJohn Marino <draco@marino.st>
Wed, 12 Jun 2013 06:15:53 +0000 (08:15 +0200)
commita8a6a9161a123c760a51db32942722249315c1ba
treee04cda92492efd3e4db100168042d48720081836
parent4b2454d14575fe90aff242d1b282429ae99e2fea
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.
33 files changed:
lib/libc/Versions.def [new file with mode: 0644]
lib/libm/Makefile
lib/libm/Symbol.map [new file with mode: 0644]
lib/libm/i386/Makefile.inc
lib/libm/i386/Symbol.map [new file with mode: 0644]
lib/libm/ld80/s_expl.c
lib/libm/ld80/s_logl.c [new file with mode: 0644]
lib/libm/man/acosh.3
lib/libm/man/asinh.3
lib/libm/man/atanh.3
lib/libm/man/exp.3
lib/libm/man/log.3
lib/libm/man/sin.3
lib/libm/src/catrig.c
lib/libm/src/catrigf.c
lib/libm/src/e_acosh.c
lib/libm/src/e_acoshl.c [new file with mode: 0644]
lib/libm/src/e_atanh.c
lib/libm/src/e_atanhl.c [new file with mode: 0644]
lib/libm/src/e_log.c
lib/libm/src/e_log10.c
lib/libm/src/e_log2.c
lib/libm/src/math.h
lib/libm/src/math_private.h
lib/libm/src/s_asinh.c
lib/libm/src/s_asinhl.c [new file with mode: 0644]
lib/libm/src/s_expm1.c
lib/libm/src/s_log1p.c
lib/libm/x86_64/Makefile.inc
lib/libm/x86_64/Symbol.map [new file with mode: 0644]
share/mk/bsd.lib.mk
share/mk/bsd.symver.mk [new file with mode: 0644]
share/mk/version_gen.awk [new file with mode: 0644]