Print this page
5261 libm should stop using synonyms.h

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/m9x/fenv.c
          +++ new/usr/src/lib/libm/common/m9x/fenv.c
↓ open down ↓ 19 lines elided ↑ open up ↑
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  24   24   */
  25   25  /*
  26   26   * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  27   27   * Use is subject to license terms.
  28   28   */
  29   29  
  30      -#pragma weak fex_merge_flags = __fex_merge_flags
       30 +#pragma weak __fex_merge_flags = fex_merge_flags
  31   31  
  32      -#pragma weak feholdexcept = __feholdexcept
  33      -#pragma weak feupdateenv = __feupdateenv
  34      -#pragma weak fegetenv = __fegetenv
  35      -#pragma weak fesetenv = __fesetenv
  36      -
  37      -#pragma weak feholdexcept96 = __feholdexcept96
  38      -#pragma weak feupdateenv96 = __feupdateenv
  39      -#pragma weak fegetenv96 = __fegetenv
  40      -#pragma weak fesetenv96 = __fesetenv
       32 +#pragma weak __feholdexcept = feholdexcept
       33 +#pragma weak __feupdateenv = feupdateenv
       34 +#pragma weak __fegetenv = fegetenv
       35 +#pragma weak __fesetenv = fesetenv
       36 +
       37 +#pragma weak feupdateenv96 = feupdateenv
       38 +#pragma weak fegetenv96 = fegetenv
       39 +#pragma weak fesetenv96 = fesetenv
  41   40  
  42      -#include "fenv_synonyms.h"
  43   41  #include <fenv.h>
  44   42  #include <ucontext.h>
  45   43  #include <thread.h>
  46   44  #include "fex_handler.h"
  47   45  #include "fenv_inlines.h"
  48   46  
  49   47  const fenv_t __fenv_dfl_env = {
  50   48          {
  51   49                  { FEX_NONSTOP, (void(*)())0 },
  52   50                  { FEX_NONSTOP, (void(*)())0 },
↓ open down ↓ 66 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX