1f808c858Sraf# 2f808c858Sraf# CDDL HEADER START 3f808c858Sraf# 4f808c858Sraf# The contents of this file are subject to the terms of the 5f808c858Sraf# Common Development and Distribution License (the "License"). 6f808c858Sraf# You may not use this file except in compliance with the License. 7f808c858Sraf# 8f808c858Sraf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9f808c858Sraf# or http://www.opensolaris.org/os/licensing. 10f808c858Sraf# See the License for the specific language governing permissions 11f808c858Sraf# and limitations under the License. 12f808c858Sraf# 13f808c858Sraf# When distributing Covered Code, include this CDDL HEADER in each 14f808c858Sraf# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15f808c858Sraf# If applicable, add the following below this CDDL HEADER, with the 16f808c858Sraf# fields enclosed by brackets "[]" replaced with your own identifying 17f808c858Sraf# information: Portions Copyright [yyyy] [name of copyright owner] 18f808c858Sraf# 19f808c858Sraf# CDDL HEADER END 20f808c858Sraf# 21f808c858Sraf# 22cd3e9333SAli Bahrami# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. 23f808c858Sraf# 24bfed486aSAli Bahrami 25bfed486aSAli Bahrami# 26bfed486aSAli Bahrami# MAPFILE HEADER START 27bfed486aSAli Bahrami# 28bfed486aSAli Bahrami# WARNING: STOP NOW. DO NOT MODIFY THIS FILE. 29bfed486aSAli Bahrami# Object versioning must comply with the rules detailed in 30bfed486aSAli Bahrami# 31bfed486aSAli Bahrami# usr/src/lib/README.mapfiles 32bfed486aSAli Bahrami# 33bfed486aSAli Bahrami# You should not be making modifications here until you've read the most current 34bfed486aSAli Bahrami# copy of that file. If you need help, contact a gatekeeper for guidance. 35bfed486aSAli Bahrami# 36bfed486aSAli Bahrami# MAPFILE HEADER END 37f808c858Sraf# 38f808c858Sraf 39cd3e9333SAli Bahrami$mapfile_version 2 40cd3e9333SAli Bahrami 41cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.3 { 42f808c858Sraf global: 43*8222814eSRichard Lowe _siguhandler { 44*8222814eSRichard Lowe ASSERT = { 45*8222814eSRichard Lowe TYPE = OBJECT; 46*8222814eSRichard Lowe SIZE = addrsize[34]; 47*8222814eSRichard Lowe }; 48*8222814eSRichard Lowe }; 49f808c858Sraf} SUNW_1.2; 50f808c858Sraf 51f808c858Sraf# Due to mistakes made early in the history of this library, there are 52f808c858Sraf# no SUNW_1.2 symbols, but the version is now kept as a placeholder. 53f808c858Sraf# Don't add any symbols to this version. 54f808c858Sraf 55cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.2 { 56f808c858Sraf global: 57f808c858Sraf SUNW_1.2; 58f808c858Sraf} SUNW_1.1; 59f808c858Sraf 60cd3e9333SAli Bahrami# SUNW_1.1 inherits SUNW_0.7 on all platforms, encapsulating the same 61cd3e9333SAli Bahrami# set of symbols. However, the assignment of symbol to version varies 62cd3e9333SAli Bahrami# between platforms: 63cd3e9333SAli Bahrami# amd64: SUNW_1.1 is empty, and SUNW_0.7 contains everything. 64cd3e9333SAli Bahrami# i386, sparc: SUNW_1.1 contains 5 largefile API routines, and everything 65cd3e9333SAli Bahrami# else in in SUNW_0.7. 66cd3e9333SAli Bahrami# sparcv9: Everything is in SUNW_1.1, and SUNW_0.7 is empty 67cd3e9333SAli Bahrami 68cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.1 { 69cd3e9333SAli Bahrami global: 70cd3e9333SAli Bahrami$if _ELF32 # largefile APIs 71cd3e9333SAli Bahrami alphasort64; 72cd3e9333SAli Bahrami fopen64; 73cd3e9333SAli Bahrami freopen64; 74cd3e9333SAli Bahrami readdir64; 75cd3e9333SAli Bahrami scandir64; 76cd3e9333SAli Bahrami$endif 77cd3e9333SAli Bahrami$if _x86 && _ELF64 78cd3e9333SAli Bahrami SUNW_1.1; 79cd3e9333SAli Bahrami$endif 80cd3e9333SAli Bahrami$if !(_sparc && _ELF64) 81cd3e9333SAli Bahrami} SUNW_0.7; 82cd3e9333SAli Bahrami 83cd3e9333SAli BahramiSYMBOL_VERSION SUNW_0.7 { 84cd3e9333SAli Bahrami$endif 85cd3e9333SAli Bahrami global: 86cd3e9333SAli Bahrami alphasort; 87cd3e9333SAli Bahrami bcmp; 88cd3e9333SAli Bahrami bcopy; 89cd3e9333SAli Bahrami bzero; 90cd3e9333SAli Bahrami flock; 91cd3e9333SAli Bahrami fopen; 92cd3e9333SAli Bahrami fprintf; 93cd3e9333SAli Bahrami freopen; 94cd3e9333SAli Bahrami fstatfs; 95cd3e9333SAli Bahrami ftime; 96cd3e9333SAli Bahrami getdtablesize; 97cd3e9333SAli Bahrami gethostid; 98cd3e9333SAli Bahrami gethostname; 99cd3e9333SAli Bahrami getpagesize; 100*8222814eSRichard Lowe getrusage { TYPE = FUNCTION; FILTER = libc.so.1; }; 101cd3e9333SAli Bahrami gettimeofday; 102cd3e9333SAli Bahrami getwd; 103cd3e9333SAli Bahrami index; 104cd3e9333SAli Bahrami killpg; 105cd3e9333SAli Bahrami mctl; 106cd3e9333SAli Bahrami nice; 107cd3e9333SAli Bahrami nlist; 108cd3e9333SAli Bahrami printf; 109cd3e9333SAli Bahrami psignal; 110cd3e9333SAli Bahrami rand; 111cd3e9333SAli Bahrami readdir; 112cd3e9333SAli Bahrami reboot; 113cd3e9333SAli Bahrami re_comp; 114cd3e9333SAli Bahrami re_exec; 115cd3e9333SAli Bahrami rindex; 116cd3e9333SAli Bahrami scandir; 117cd3e9333SAli Bahrami setbuffer; 118cd3e9333SAli Bahrami sethostname; 119cd3e9333SAli Bahrami setlinebuf; 120cd3e9333SAli Bahrami setpgrp; 121cd3e9333SAli Bahrami settimeofday; 122cd3e9333SAli Bahrami sigblock; 123cd3e9333SAli Bahrami siginterrupt; 124cd3e9333SAli Bahrami signal; 125cd3e9333SAli Bahrami sigpause; 126cd3e9333SAli Bahrami sigsetmask; 127cd3e9333SAli Bahrami sigstack; 128cd3e9333SAli Bahrami sigvec; 129cd3e9333SAli Bahrami sigvechandler; 130*8222814eSRichard Lowe sleep { TYPE = FUNCTION; FILTER = libc.so.1; }; 131cd3e9333SAli Bahrami sprintf; 132cd3e9333SAli Bahrami srand; 133cd3e9333SAli Bahrami statfs; 134*8222814eSRichard Lowe sys_siglist { 135*8222814eSRichard Lowe ASSERT = { 136*8222814eSRichard Lowe TYPE = OBJECT; 137*8222814eSRichard Lowe SIZE = addrsize[34]; 138*8222814eSRichard Lowe }; 139*8222814eSRichard Lowe }; 140cd3e9333SAli Bahrami times; 141*8222814eSRichard Lowe ualarm { TYPE = FUNCTION; FILTER = libc.so.1; }; 142cd3e9333SAli Bahrami usignal; 143cd3e9333SAli Bahrami usigpause; 144*8222814eSRichard Lowe usleep { TYPE = FUNCTION; FILTER = libc.so.1; }; 145cd3e9333SAli Bahrami vfprintf; 146cd3e9333SAli Bahrami vprintf; 147cd3e9333SAli Bahrami vsprintf; 148cd3e9333SAli Bahrami wait3; 149cd3e9333SAli Bahrami wait4; 150cd3e9333SAli Bahrami 151cd3e9333SAli Bahrami # The longjmp/setjmp story is complex: 152cd3e9333SAli Bahrami # - On sparc, they are supplied by the library 153cd3e9333SAli Bahrami # - On 32-bit x86, they are filters on libc 154cd3e9333SAli Bahrami # - On amd64, they are not present in this library 155cd3e9333SAli Bahrami$if _sparc 156cd3e9333SAli Bahrami longjmp; 157cd3e9333SAli Bahrami setjmp; 158cd3e9333SAli Bahrami$elif _x86 && _ELF32 159*8222814eSRichard Lowe longjmp { TYPE = FUNCTION; FILTER = libc.so.1; }; 160*8222814eSRichard Lowe setjmp { TYPE = FUNCTION; FILTER = libc.so.1; }; 161cd3e9333SAli Bahrami$endif 162cd3e9333SAli Bahrami 163cd3e9333SAli Bahrami$if _sparc && _ELF64 164cd3e9333SAli Bahrami} SUNW_0.7; 165cd3e9333SAli Bahrami 166cd3e9333SAli BahramiSYMBOL_VERSION SUNW_0.7 { 167cd3e9333SAli Bahrami global: 168cd3e9333SAli Bahrami SUNW_0.7; 169cd3e9333SAli Bahrami$endif 170cd3e9333SAli Bahrami}; 171cd3e9333SAli Bahrami 172cd3e9333SAli BahramiSYMBOL_VERSION SUNWprivate_1.1 { 173f808c858Sraf global: 174f808c858Sraf _doprnt; 175f808c858Sraf _getarg; 176f808c858Sraf _mkarglst; 177f808c858Sraf _sigblock; 178f808c858Sraf _siginterrupt; 179f808c858Sraf _sigsetmask; 180f808c858Sraf _sigstack; 181f808c858Sraf _sigvec; 182f808c858Sraf _sigvechandler; 183f808c858Sraf ucbsigblock; 184f808c858Sraf ucbsiginterrupt; 185f808c858Sraf ucbsigpause; 186f808c858Sraf ucbsigsetmask; 187f808c858Sraf ucbsigvec; 188cd3e9333SAli Bahrami 189cd3e9333SAli Bahrami 190cd3e9333SAli Bahrami # Handle per-platform variations 191cd3e9333SAli Bahrami$if _sparc 192cd3e9333SAli Bahrami _longjmp; 193cd3e9333SAli Bahrami _setjmp; 194cd3e9333SAli Bahrami __sigcleanup; 195cd3e9333SAli Bahrami$if _ELF32 196*8222814eSRichard Lowe syscall { TYPE = FUNCTION; FILTER = libc.so.1; }; 197cd3e9333SAli Bahrami$endif 198cd3e9333SAli Bahrami$endif 199cd3e9333SAli Bahrami 200cd3e9333SAli Bahrami$if _x86 && _ELF32 201*8222814eSRichard Lowe _longjmp { TYPE = FUNCTION; FILTER = libc.so.1; }; 202*8222814eSRichard Lowe _setjmp { TYPE = FUNCTION; FILTER = libc.so.1; }; 203*8222814eSRichard Lowe _syscall { TYPE = FUNCTION; FILTER = libc.so.1; }; 204*8222814eSRichard Lowe _times { TYPE = FUNCTION; FILTER = libc.so.1; }; 205cd3e9333SAli Bahrami$endif 206cd3e9333SAli Bahrami 207f808c858Sraf local: 208f808c858Sraf *; 209f808c858Sraf}; 210