mapfile-vers revision 7dc9a163b382daee1ce43b6588dd1b507363dae5
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# CDDL HEADER START
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# The contents of this file are subject to the terms of the
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# Common Development and Distribution License (the "License").
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# You may not use this file except in compliance with the License.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# or http://www.opensolaris.org/os/licensing.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# See the License for the specific language governing permissions
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# and limitations under the License.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# When distributing Covered Code, include this CDDL HEADER in each
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# If applicable, add the following below this CDDL HEADER, with the
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# fields enclosed by brackets "[]" replaced with your own identifying
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# information: Portions Copyright [yyyy] [name of copyright owner]
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# CDDL HEADER END
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# Copyright 2010 Nexenta Systems, Inc. All rights reserved.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# Use is subject to license terms.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# Copyright (c) 2012 by Delphix. All rights reserved.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# Copyright 2016 Joyent, Inc.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# Copyright (c) 2013 Gary Mills
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# Copyright 2014 Garrett D'Amore <garrett@damore.org>
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# MAPFILE HEADER START
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# Object versioning must comply with the rules detailed in
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# You should not be making modifications here until you've read the most current
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# copy of that file. If you need help, contact a gatekeeper for guidance.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# MAPFILE HEADER END
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar$mapfile_version 2
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# All function names added to this or any other libc mapfile
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# must be placed under the 'protected:' designation.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# The 'global:' designation is used *only* for data
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# items and for the members of the malloc() family.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# README README README README README README: how to update this file
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# 1) each version of Solaris/OpenSolaris gets a version number.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# (Actually since Solaris is actually a series of OpenSolaris releases
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# we'll just use OpenSolaris for this exercise.)
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# OpenSolaris 2008.11 gets 1.23
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# OpenSolaris 2009.04 gets 1.24
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# 2) each project integration uses a unique version number.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# PSARC/2008/123 gets 1.24.1
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# PSARC/2008/456 gets 1.24.2
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# Mnemonic conditional input identifiers:
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# - amd64, i386, sparc32, sparcv9: Correspond to ISA subdirectories used to
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# hold per-platform code. Note however that we use 'sparc32' instead of
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# 'sparc'. Since '_sparc' is predefined to apply to, all sparc platforms,
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# naming the 32-bit version 'sparc' would be too likely to cause errors.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# - lf64: Defined on platforms that offer the 32-bit largefile APIs
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar$if _sparc && _ELF32
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar$if _sparc && _ELF64
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar$if _x86 && _ELF32
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar$if _x86 && _ELF64
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod GunjikarSYMBOL_VERSION ILLUMOS_0.22 { # endian(3C)
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar} ILLUMOS_0.21;
dl_iterate_phdr { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
dl_iterate_phdr { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
dl_iterate_phdr { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
dladdr { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
dladdr1 { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
dlclose { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
dldump { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
dlerror { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
dlinfo { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
dlmopen { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
dlopen { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
dlsym { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
dladdr { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
dladdr1 { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
dlclose { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
dldump { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
dlerror { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
dlinfo { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
dlmopen { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
dlopen { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
dlsym { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
dladdr { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
dladdr1 { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
dlamd64getunwind { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
dlclose { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
dldump { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
dlerror { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
dlinfo { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
dlmopen { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
dlopen { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
dlsym { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
isnanf { TYPE = FUNCTION; FILTER = libm.so.2 };
modff { TYPE = FUNCTION; FILTER = libm.so.2 };
frexp { TYPE = FUNCTION; FILTER = libm.so.2 };
isnan { TYPE = FUNCTION; FILTER = libm.so.2 };
_isnan { TYPE = FUNCTION; FILTER = libm.so.2 };
isnand { TYPE = FUNCTION; FILTER = libm.so.2 };
_isnand { TYPE = FUNCTION; FILTER = libm.so.2 };
ldexp { TYPE = FUNCTION; FILTER = libm.so.2 };
logb { TYPE = FUNCTION; FILTER = libm.so.2 };
modf { TYPE = FUNCTION; FILTER = libm.so.2 };
_modf { TYPE = FUNCTION; FILTER = libm.so.2 };
nextafter { TYPE = FUNCTION; FILTER = libm.so.2 };
_nextafter { TYPE = FUNCTION; FILTER = libm.so.2 };
scalb { TYPE = FUNCTION; FILTER = libm.so.2 };
_scalb { TYPE = FUNCTION; FILTER = libm.so.2 };
_isnanf { TYPE = FUNCTION; FILTER = libm.so.2 };
_logb { TYPE = FUNCTION; FILTER = libm.so.2 };
_modff { TYPE = FUNCTION; FILTER = libm.so.2 };
_dladdr { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
_dladdr1 { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
_dlclose { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
_dldump { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
_dlerror { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
_dlinfo { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
_dlmopen { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
_dlopen { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
_dlsym { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
_ld_libc { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
_dladdr { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
_dladdr1 { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
_dlclose { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
_dldump { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
_dlerror { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
_dlinfo { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
_dlmopen { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
_dlopen { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
_dlsym { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
_ld_libc { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
_dladdr { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
_dladdr1 { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
_dlamd64getunwind { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
_dlclose { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
_dldump { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
_dlerror { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
_dlinfo { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
_dlmopen { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
_dlopen { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
_dlsym { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
_ld_libc { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
# but /lib/libm.so.2, some older versions of the Studio
# compiler/debugger components, and some ancient programs
# found in /usr/dist reference them. When we no longer