1*25c28e83SPiotr Jasiukajtis# 2*25c28e83SPiotr Jasiukajtis# CDDL HEADER START 3*25c28e83SPiotr Jasiukajtis# 4*25c28e83SPiotr Jasiukajtis# The contents of this file are subject to the terms of the 5*25c28e83SPiotr Jasiukajtis# Common Development and Distribution License (the "License"). 6*25c28e83SPiotr Jasiukajtis# You may not use this file except in compliance with the License. 7*25c28e83SPiotr Jasiukajtis# 8*25c28e83SPiotr Jasiukajtis# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*25c28e83SPiotr Jasiukajtis# or http://www.opensolaris.org/os/licensing. 10*25c28e83SPiotr Jasiukajtis# See the License for the specific language governing permissions 11*25c28e83SPiotr Jasiukajtis# and limitations under the License. 12*25c28e83SPiotr Jasiukajtis# 13*25c28e83SPiotr Jasiukajtis# When distributing Covered Code, include this CDDL HEADER in each 14*25c28e83SPiotr Jasiukajtis# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*25c28e83SPiotr Jasiukajtis# If applicable, add the following below this CDDL HEADER, with the 16*25c28e83SPiotr Jasiukajtis# fields enclosed by brackets "[]" replaced with your own identifying 17*25c28e83SPiotr Jasiukajtis# information: Portions Copyright [yyyy] [name of copyright owner] 18*25c28e83SPiotr Jasiukajtis# 19*25c28e83SPiotr Jasiukajtis# CDDL HEADER END 20*25c28e83SPiotr Jasiukajtis# 21*25c28e83SPiotr Jasiukajtis# Copyright 2011 Nexenta Systems, Inc. All rights reserved. 22*25c28e83SPiotr Jasiukajtis# 23*25c28e83SPiotr Jasiukajtis# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24*25c28e83SPiotr Jasiukajtis# Use is subject to license terms. 25*25c28e83SPiotr Jasiukajtis# 26*25c28e83SPiotr Jasiukajtis# Interface definition for libm.so.1 27*25c28e83SPiotr Jasiukajtis# 28*25c28e83SPiotr Jasiukajtis# For information regarding the establishment of versioned definitions see: 29*25c28e83SPiotr Jasiukajtis# The Linker and Libraries Manual (version 2.5 or greater) 30*25c28e83SPiotr Jasiukajtis# This is part of the Developers Guide in the Answerbook. Specifically refer 31*25c28e83SPiotr Jasiukajtis# to Chapter 2 under section "Defining Additional Symbols" through section 32*25c28e83SPiotr Jasiukajtis# "Reducing Symbol Scope", and Chapter 5 "Versioning". 33*25c28e83SPiotr Jasiukajtis# 34*25c28e83SPiotr Jasiukajtis# For specific rules for the modification (evolution) of these version 35*25c28e83SPiotr Jasiukajtis# definitions see: 36*25c28e83SPiotr Jasiukajtis# psarc_1995_14: Integration of Scoped Libraries 37*25c28e83SPiotr Jasiukajtis# (/shared/sac/PSARC/1995/014) 38*25c28e83SPiotr Jasiukajtis# Policy for Shared Library Version Names and Interface Definitions 39*25c28e83SPiotr Jasiukajtis# (/shared/ON/general_docs/scoping-rules.ps) 40*25c28e83SPiotr Jasiukajtis 41*25c28e83SPiotr Jasiukajtis# 42*25c28e83SPiotr Jasiukajtis# MAPFILE HEADER START 43*25c28e83SPiotr Jasiukajtis# 44*25c28e83SPiotr Jasiukajtis# WARNING: STOP NOW. DO NOT MODIFY THIS FILE. 45*25c28e83SPiotr Jasiukajtis# Object versioning must comply with the rules detailed in 46*25c28e83SPiotr Jasiukajtis# 47*25c28e83SPiotr Jasiukajtis# usr/src/lib/README.mapfiles 48*25c28e83SPiotr Jasiukajtis# 49*25c28e83SPiotr Jasiukajtis# You should not be making modifications here until you've read the most current 50*25c28e83SPiotr Jasiukajtis# copy of that file. If you need help, contact a gatekeeper for guidance. 51*25c28e83SPiotr Jasiukajtis# 52*25c28e83SPiotr Jasiukajtis# MAPFILE HEADER END 53*25c28e83SPiotr Jasiukajtis# 54*25c28e83SPiotr Jasiukajtis 55*25c28e83SPiotr Jasiukajtis$mapfile_version 2 56*25c28e83SPiotr Jasiukajtis 57*25c28e83SPiotr Jasiukajtis$if _ELF32 58*25c28e83SPiotr Jasiukajtis$add lf64 59*25c28e83SPiotr Jasiukajtis$endif 60*25c28e83SPiotr Jasiukajtis$if _sparc && _ELF32 61*25c28e83SPiotr Jasiukajtis$add sparc32 62*25c28e83SPiotr Jasiukajtis$endif 63*25c28e83SPiotr Jasiukajtis$if _sparc && _ELF64 64*25c28e83SPiotr Jasiukajtis$add sparcv9 65*25c28e83SPiotr Jasiukajtis$endif 66*25c28e83SPiotr Jasiukajtis$if _x86 && _ELF32 67*25c28e83SPiotr Jasiukajtis$add i386 68*25c28e83SPiotr Jasiukajtis$endif 69*25c28e83SPiotr Jasiukajtis$if _x86 && _ELF64 70*25c28e83SPiotr Jasiukajtis$add amd64 71*25c28e83SPiotr Jasiukajtis$endif 72*25c28e83SPiotr Jasiukajtis 73*25c28e83SPiotr JasiukajtisSYMBOL_VERSION SUNW_1.1.1 { 74*25c28e83SPiotr Jasiukajtis global: 75*25c28e83SPiotr Jasiukajtis __acosf; 76*25c28e83SPiotr Jasiukajtis __acosl; 77*25c28e83SPiotr Jasiukajtis __asinf; 78*25c28e83SPiotr Jasiukajtis __asinl; 79*25c28e83SPiotr Jasiukajtis __atan2f; 80*25c28e83SPiotr Jasiukajtis __atan2l; 81*25c28e83SPiotr Jasiukajtis __atanf; 82*25c28e83SPiotr Jasiukajtis __atanl; 83*25c28e83SPiotr Jasiukajtis __ceilf; 84*25c28e83SPiotr Jasiukajtis __ceill; 85*25c28e83SPiotr Jasiukajtis __cosf; 86*25c28e83SPiotr Jasiukajtis __coshf; 87*25c28e83SPiotr Jasiukajtis __coshl; 88*25c28e83SPiotr Jasiukajtis __cosl; 89*25c28e83SPiotr Jasiukajtis __expf; 90*25c28e83SPiotr Jasiukajtis __expl; 91*25c28e83SPiotr Jasiukajtis __fabsf; 92*25c28e83SPiotr Jasiukajtis __fabsl; 93*25c28e83SPiotr Jasiukajtis __floorf; 94*25c28e83SPiotr Jasiukajtis __floorl; 95*25c28e83SPiotr Jasiukajtis __fmodf; 96*25c28e83SPiotr Jasiukajtis __fmodl; 97*25c28e83SPiotr Jasiukajtis __frexpf; 98*25c28e83SPiotr Jasiukajtis __frexpl; 99*25c28e83SPiotr Jasiukajtis __ldexpf; 100*25c28e83SPiotr Jasiukajtis __ldexpl; 101*25c28e83SPiotr Jasiukajtis __log10f; 102*25c28e83SPiotr Jasiukajtis __log10l; 103*25c28e83SPiotr Jasiukajtis __logf; 104*25c28e83SPiotr Jasiukajtis __logl; 105*25c28e83SPiotr Jasiukajtis __modff; 106*25c28e83SPiotr Jasiukajtis __modfl; 107*25c28e83SPiotr Jasiukajtis __powf; 108*25c28e83SPiotr Jasiukajtis __powl; 109*25c28e83SPiotr Jasiukajtis __sinf; 110*25c28e83SPiotr Jasiukajtis __sinhf; 111*25c28e83SPiotr Jasiukajtis __sinhl; 112*25c28e83SPiotr Jasiukajtis __sinl; 113*25c28e83SPiotr Jasiukajtis __sqrtf; 114*25c28e83SPiotr Jasiukajtis __sqrtl; 115*25c28e83SPiotr Jasiukajtis __tanf; 116*25c28e83SPiotr Jasiukajtis __tanhf; 117*25c28e83SPiotr Jasiukajtis __tanhl; 118*25c28e83SPiotr Jasiukajtis __tanl; 119*25c28e83SPiotr Jasiukajtis} SUNW_1.1; 120*25c28e83SPiotr Jasiukajtis 121*25c28e83SPiotr JasiukajtisSYMBOL_VERSION SUNW_1.1 { 122*25c28e83SPiotr Jasiukajtis global: 123*25c28e83SPiotr Jasiukajtis __acos; 124*25c28e83SPiotr Jasiukajtis __acosh; 125*25c28e83SPiotr Jasiukajtis __asin; 126*25c28e83SPiotr Jasiukajtis __asinh; 127*25c28e83SPiotr Jasiukajtis __atan; 128*25c28e83SPiotr Jasiukajtis __atan2; 129*25c28e83SPiotr Jasiukajtis __atanh; 130*25c28e83SPiotr Jasiukajtis __cbrt; 131*25c28e83SPiotr Jasiukajtis __ceil; 132*25c28e83SPiotr Jasiukajtis __copysign; 133*25c28e83SPiotr Jasiukajtis __cos; 134*25c28e83SPiotr Jasiukajtis __cosh; 135*25c28e83SPiotr Jasiukajtis __erf; 136*25c28e83SPiotr Jasiukajtis __erfc; 137*25c28e83SPiotr Jasiukajtis __exp; 138*25c28e83SPiotr Jasiukajtis __expm1; 139*25c28e83SPiotr Jasiukajtis __fabs; 140*25c28e83SPiotr Jasiukajtis __floor; 141*25c28e83SPiotr Jasiukajtis __fmod; 142*25c28e83SPiotr Jasiukajtis __gamma; 143*25c28e83SPiotr Jasiukajtis __gamma_r; 144*25c28e83SPiotr Jasiukajtis __hypot; 145*25c28e83SPiotr Jasiukajtis __ilogb; 146*25c28e83SPiotr Jasiukajtis __isnan; 147*25c28e83SPiotr Jasiukajtis __j0; 148*25c28e83SPiotr Jasiukajtis __j1; 149*25c28e83SPiotr Jasiukajtis __jn; 150*25c28e83SPiotr Jasiukajtis __lgamma; 151*25c28e83SPiotr Jasiukajtis __lgamma_r; 152*25c28e83SPiotr Jasiukajtis __log; 153*25c28e83SPiotr Jasiukajtis __log10; 154*25c28e83SPiotr Jasiukajtis __log1p; 155*25c28e83SPiotr Jasiukajtis __logb; 156*25c28e83SPiotr Jasiukajtis __nextafter; 157*25c28e83SPiotr Jasiukajtis __pow; 158*25c28e83SPiotr Jasiukajtis __remainder; 159*25c28e83SPiotr Jasiukajtis __rint; 160*25c28e83SPiotr Jasiukajtis __scalb; 161*25c28e83SPiotr Jasiukajtis __scalbn; 162*25c28e83SPiotr Jasiukajtis __signgam; 163*25c28e83SPiotr Jasiukajtis __significand; 164*25c28e83SPiotr Jasiukajtis __sin; 165*25c28e83SPiotr Jasiukajtis __sinh; 166*25c28e83SPiotr Jasiukajtis __sqrt; 167*25c28e83SPiotr Jasiukajtis __tan; 168*25c28e83SPiotr Jasiukajtis __tanh; 169*25c28e83SPiotr Jasiukajtis __y0; 170*25c28e83SPiotr Jasiukajtis __y1; 171*25c28e83SPiotr Jasiukajtis __yn; 172*25c28e83SPiotr Jasiukajtis acos; 173*25c28e83SPiotr Jasiukajtis acosh; 174*25c28e83SPiotr Jasiukajtis asin; 175*25c28e83SPiotr Jasiukajtis asinh; 176*25c28e83SPiotr Jasiukajtis atan; 177*25c28e83SPiotr Jasiukajtis atan2; 178*25c28e83SPiotr Jasiukajtis atanh; 179*25c28e83SPiotr Jasiukajtis cbrt; 180*25c28e83SPiotr Jasiukajtis ceil; 181*25c28e83SPiotr Jasiukajtis copysign; 182*25c28e83SPiotr Jasiukajtis cos; 183*25c28e83SPiotr Jasiukajtis cosh; 184*25c28e83SPiotr Jasiukajtis erf; 185*25c28e83SPiotr Jasiukajtis erfc; 186*25c28e83SPiotr Jasiukajtis exp; 187*25c28e83SPiotr Jasiukajtis expm1; 188*25c28e83SPiotr Jasiukajtis fabs; 189*25c28e83SPiotr Jasiukajtis floor; 190*25c28e83SPiotr Jasiukajtis fmod; 191*25c28e83SPiotr Jasiukajtis gamma; 192*25c28e83SPiotr Jasiukajtis gamma_r; 193*25c28e83SPiotr Jasiukajtis hypot; 194*25c28e83SPiotr Jasiukajtis ilogb; 195*25c28e83SPiotr Jasiukajtis isnan; 196*25c28e83SPiotr Jasiukajtis j0; 197*25c28e83SPiotr Jasiukajtis j1; 198*25c28e83SPiotr Jasiukajtis jn; 199*25c28e83SPiotr Jasiukajtis lgamma; 200*25c28e83SPiotr Jasiukajtis lgamma_r; 201*25c28e83SPiotr Jasiukajtis log; 202*25c28e83SPiotr Jasiukajtis log10; 203*25c28e83SPiotr Jasiukajtis log1p; 204*25c28e83SPiotr Jasiukajtis logb; 205*25c28e83SPiotr Jasiukajtis matherr; 206*25c28e83SPiotr Jasiukajtis nextafter; 207*25c28e83SPiotr Jasiukajtis pow; 208*25c28e83SPiotr Jasiukajtis remainder; 209*25c28e83SPiotr Jasiukajtis rint; 210*25c28e83SPiotr Jasiukajtis scalb; 211*25c28e83SPiotr Jasiukajtis scalbn; 212*25c28e83SPiotr Jasiukajtis signgam; 213*25c28e83SPiotr Jasiukajtis significand; 214*25c28e83SPiotr Jasiukajtis sin; 215*25c28e83SPiotr Jasiukajtis sinh; 216*25c28e83SPiotr Jasiukajtis sqrt; 217*25c28e83SPiotr Jasiukajtis tan; 218*25c28e83SPiotr Jasiukajtis tanh; 219*25c28e83SPiotr Jasiukajtis y0; 220*25c28e83SPiotr Jasiukajtis y1; 221*25c28e83SPiotr Jasiukajtis yn; 222*25c28e83SPiotr Jasiukajtis}; 223*25c28e83SPiotr Jasiukajtis 224*25c28e83SPiotr Jasiukajtis$if i386 225*25c28e83SPiotr JasiukajtisSYMBOL_VERSION SUNWprivate_1.2 { 226*25c28e83SPiotr Jasiukajtis global: 227*25c28e83SPiotr Jasiukajtis __libm_errno; # SC3.0.1 -lmopt 228*25c28e83SPiotr Jasiukajtis} SUNWprivate_1.1; 229*25c28e83SPiotr Jasiukajtis$endif 230*25c28e83SPiotr Jasiukajtis 231*25c28e83SPiotr JasiukajtisSYMBOL_VERSION SUNWprivate_1.1 { 232*25c28e83SPiotr Jasiukajtis global: 233*25c28e83SPiotr Jasiukajtis _lib_version; 234*25c28e83SPiotr Jasiukajtis __libm__rem_pio2; 235*25c28e83SPiotr Jasiukajtis __libm__rem_pio2m; 236*25c28e83SPiotr Jasiukajtis # anything else is local 237*25c28e83SPiotr Jasiukajtis local: 238*25c28e83SPiotr Jasiukajtis *; # symbols not mentioned in this file are scoped out 239*25c28e83SPiotr Jasiukajtis}; 240