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_get_log = __fex_get_log
  31 #pragma weak fex_set_log = __fex_set_log
  32 #pragma weak fex_get_log_depth = __fex_get_log_depth
  33 #pragma weak fex_set_log_depth = __fex_set_log_depth
  34 #pragma weak fex_log_entry = __fex_log_entry
  35 
  36 #include "fenv_synonyms.h"
  37 #include <stdio.h>
  38 #include <stdlib.h>
  39 #include <unistd.h>
  40 #include <string.h>
  41 #include <signal.h>
  42 #include <ucontext.h>
  43 #include <sys/frame.h>
  44 #include <fenv.h>
  45 #include <sys/ieeefp.h>
  46 #include <thread.h>
  47 #include "fex_handler.h"
  48 
  49 #if !defined(PC)
  50 #if defined(REG_PC)
  51 #define PC      REG_PC
  52 #else
  53 #error Neither PC nor REG_PC is defined!
  54 #endif
  55 #endif
  56 




  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_get_log = fex_get_log
  31 #pragma weak __fex_set_log = fex_set_log
  32 #pragma weak __fex_get_log_depth = fex_get_log_depth
  33 #pragma weak __fex_set_log_depth = fex_set_log_depth
  34 #pragma weak __fex_log_entry = fex_log_entry
  35 

  36 #include <stdio.h>
  37 #include <stdlib.h>
  38 #include <unistd.h>
  39 #include <string.h>
  40 #include <signal.h>
  41 #include <ucontext.h>
  42 #include <sys/frame.h>
  43 #include <fenv.h>
  44 #include <sys/ieeefp.h>
  45 #include <thread.h>
  46 #include "fex_handler.h"
  47 
  48 #if !defined(PC)
  49 #if defined(REG_PC)
  50 #define PC      REG_PC
  51 #else
  52 #error Neither PC nor REG_PC is defined!
  53 #endif
  54 #endif
  55