git: OpenLIBM: remaining local modifications

John Marino marino at crater.dragonflybsd.org
Sun Jul 12 13:18:55 PDT 2015


commit 74b7c7a8f84d2074b354ec1a601ec20152ace31f
Author: John Marino <draco at marino.st>
Date:   Sun Jul 12 22:16:29 2015 +0200

    OpenLIBM: remaining local modifications
    
    The following section is an excerpt of DRAGONFLY.README for this vendor
    branch.  Many of these patched issued exist in the current libm as well,
    but they are masked with WARNS?=1.  Other fixes adjust for differences
    between DragonFly and OpenBSD.  The WARNS level has been raised to 3, and
    it could be raised to 4 by fixing "set-but-unused" errors.
    
    The following files have been patched
    =====================================
    arch/amd64/*.S             (elf note added to all assembly files)
    arch/amd64/fenv.c          (#include diff from OpenBSD)
    arch/amd64/fenv.h          (#include <sys/cdefs.h> for CDECL)
    include/global/math.h      (#include diff, double/float typedefs)
    src/e_j0.c                 (full coverage)
    src/e_j0f.c                (full coverage, fix sign comparison mismatch)
    src/e_j1.c                 (full coverage)
    src/e_j1f.c                (full coverage, fix sign comparison mismatch)
    src/e_jnf.c                (sign comparison mismatch)
    src/e_pow.c                (sign comparison mismatch)
    src/e_powf.c               (sign comparison mismatch)
    src/e_rem_pio2f.c          (sign comparison mismatch)
    src/ld80/e_fmodl.c         (sign comparison mismatch)
    src/ld80/s_ceill.c         (sign comparison mismatch)
    src/ld80/s_floorl.c        (sign comparison mismatch)
    src/ld80/s_nextafterl.c    (strong alias, explicit eval order, always true)
    src/ld80/s_remquol.c       (sign comparison mismatch)
    src/s_lround.c             (sign comparison mismatch)
    src/s_lroundf.c            (sign comparison mismatch)
    src/s_nan.c                (#include diff from OpenBSD)
    src/w_drem.c               (ansify prototype)

Summary of changes:
 contrib/openbsd_libm/arch/amd64/fenv.c       | 2 +-
 contrib/openbsd_libm/include/amd64/fenv.h    | 2 ++
 contrib/openbsd_libm/include/global/math.h   | 8 ++++----
 contrib/openbsd_libm/src/e_j0.c              | 4 ++--
 contrib/openbsd_libm/src/e_j0f.c             | 8 ++++----
 contrib/openbsd_libm/src/e_j1.c              | 4 ++--
 contrib/openbsd_libm/src/e_j1f.c             | 6 +++---
 contrib/openbsd_libm/src/e_jnf.c             | 2 +-
 contrib/openbsd_libm/src/e_pow.c             | 2 +-
 contrib/openbsd_libm/src/e_powf.c            | 2 +-
 contrib/openbsd_libm/src/e_rem_pio2f.c       | 2 +-
 contrib/openbsd_libm/src/ld80/e_fmodl.c      | 2 +-
 contrib/openbsd_libm/src/ld80/s_ceill.c      | 2 +-
 contrib/openbsd_libm/src/ld80/s_floorl.c     | 2 +-
 contrib/openbsd_libm/src/ld80/s_nextafterl.c | 9 +++++----
 contrib/openbsd_libm/src/ld80/s_remquol.c    | 2 +-
 contrib/openbsd_libm/src/s_lround.c          | 4 ++--
 contrib/openbsd_libm/src/s_lroundf.c         | 4 ++--
 contrib/openbsd_libm/src/s_nan.c             | 2 +-
 contrib/openbsd_libm/src/w_drem.c            | 3 +--
 20 files changed, 37 insertions(+), 35 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/74b7c7a8f84d2074b354ec1a601ec20152ace31f


-- 
DragonFly BSD source repository



More information about the Commits mailing list