Print this page
5261 libm should stop using synonyms.h


  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  24  */
  25 /*
  26  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  27  * Use is subject to license terms.
  28  */
  29 
  30 #pragma weak fex_merge_flags = __fex_merge_flags
  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
  41 
  42 #include "fenv_synonyms.h"
  43 #include <fenv.h>
  44 #include <ucontext.h>
  45 #include <thread.h>
  46 #include "fex_handler.h"
  47 #include "fenv_inlines.h"
  48 
  49 const fenv_t __fenv_dfl_env = {
  50         {
  51                 { FEX_NONSTOP, (void(*)())0 },
  52                 { FEX_NONSTOP, (void(*)())0 },
  53                 { FEX_NONSTOP, (void(*)())0 },
  54                 { FEX_NONSTOP, (void(*)())0 },
  55                 { FEX_NONSTOP, (void(*)())0 },
  56                 { FEX_NONSTOP, (void(*)())0 },
  57                 { FEX_NONSTOP, (void(*)())0 },
  58                 { FEX_NONSTOP, (void(*)())0 },
  59                 { FEX_NONSTOP, (void(*)())0 },
  60                 { FEX_NONSTOP, (void(*)())0 },
  61                 { FEX_NONSTOP, (void(*)())0 },
  62                 { FEX_NONSTOP, (void(*)())0 },




  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  24  */
  25 /*
  26  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  27  * Use is subject to license terms.
  28  */
  29 
  30 #pragma weak __fex_merge_flags = fex_merge_flags
  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 feupdateenv96 = feupdateenv
  38 #pragma weak fegetenv96 = fegetenv
  39 #pragma weak fesetenv96 = fesetenv

  40 

  41 #include <fenv.h>
  42 #include <ucontext.h>
  43 #include <thread.h>
  44 #include "fex_handler.h"
  45 #include "fenv_inlines.h"
  46 
  47 const fenv_t __fenv_dfl_env = {
  48         {
  49                 { FEX_NONSTOP, (void(*)())0 },
  50                 { FEX_NONSTOP, (void(*)())0 },
  51                 { FEX_NONSTOP, (void(*)())0 },
  52                 { FEX_NONSTOP, (void(*)())0 },
  53                 { FEX_NONSTOP, (void(*)())0 },
  54                 { FEX_NONSTOP, (void(*)())0 },
  55                 { FEX_NONSTOP, (void(*)())0 },
  56                 { FEX_NONSTOP, (void(*)())0 },
  57                 { FEX_NONSTOP, (void(*)())0 },
  58                 { FEX_NONSTOP, (void(*)())0 },
  59                 { FEX_NONSTOP, (void(*)())0 },
  60                 { FEX_NONSTOP, (void(*)())0 },