xref: /titanic_41/usr/src/ucblib/libucb/port/mapfile-vers (revision cd3e933325e68e23516a196a8fea7f49b1e497c3)
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#
22*cd3e9333SAli 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
39*cd3e9333SAli Bahrami$mapfile_version 2
40*cd3e9333SAli Bahrami
41*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.3 {
42f808c858Sraf    global:
43f808c858Sraf	_siguhandler;
44f808c858Sraf} SUNW_1.2;
45f808c858Sraf
46f808c858Sraf# Due to mistakes made early in the history of this library, there are
47f808c858Sraf# no SUNW_1.2 symbols, but the version is now kept as a placeholder.
48f808c858Sraf# Don't add any symbols to this version.
49f808c858Sraf
50*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.2 {
51f808c858Sraf    global:
52f808c858Sraf	SUNW_1.2;
53f808c858Sraf} SUNW_1.1;
54f808c858Sraf
55*cd3e9333SAli Bahrami# SUNW_1.1 inherits SUNW_0.7 on all platforms, encapsulating the same
56*cd3e9333SAli Bahrami# set of symbols. However, the assignment of symbol to version varies
57*cd3e9333SAli Bahrami# between platforms:
58*cd3e9333SAli Bahrami#    amd64:  SUNW_1.1 is empty, and SUNW_0.7 contains everything.
59*cd3e9333SAli Bahrami#    i386, sparc: SUNW_1.1 contains 5 largefile API routines, and everything
60*cd3e9333SAli Bahrami#        else in in SUNW_0.7.
61*cd3e9333SAli Bahrami#    sparcv9: Everything is in SUNW_1.1, and SUNW_0.7 is empty
62*cd3e9333SAli Bahrami
63*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.1 {
64*cd3e9333SAli Bahrami    global:
65*cd3e9333SAli Bahrami$if _ELF32		# largefile APIs
66*cd3e9333SAli Bahrami	alphasort64;
67*cd3e9333SAli Bahrami	fopen64;
68*cd3e9333SAli Bahrami	freopen64;
69*cd3e9333SAli Bahrami	readdir64;
70*cd3e9333SAli Bahrami	scandir64;
71*cd3e9333SAli Bahrami$endif
72*cd3e9333SAli Bahrami$if _x86 && _ELF64
73*cd3e9333SAli Bahrami	SUNW_1.1;
74*cd3e9333SAli Bahrami$endif
75*cd3e9333SAli Bahrami$if !(_sparc && _ELF64)
76*cd3e9333SAli Bahrami} SUNW_0.7;
77*cd3e9333SAli Bahrami
78*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_0.7 {
79*cd3e9333SAli Bahrami$endif
80*cd3e9333SAli Bahrami    global:
81*cd3e9333SAli Bahrami	alphasort;
82*cd3e9333SAli Bahrami	bcmp;
83*cd3e9333SAli Bahrami	bcopy;
84*cd3e9333SAli Bahrami	bzero;
85*cd3e9333SAli Bahrami	flock;
86*cd3e9333SAli Bahrami	fopen;
87*cd3e9333SAli Bahrami	fprintf;
88*cd3e9333SAli Bahrami	freopen;
89*cd3e9333SAli Bahrami	fstatfs;
90*cd3e9333SAli Bahrami	ftime;
91*cd3e9333SAli Bahrami	getdtablesize;
92*cd3e9333SAli Bahrami	gethostid;
93*cd3e9333SAli Bahrami	gethostname;
94*cd3e9333SAli Bahrami	getpagesize;
95*cd3e9333SAli Bahrami	getrusage		{ TYPE = FUNCTION; FILTER = libc.so.1 };
96*cd3e9333SAli Bahrami	gettimeofday;
97*cd3e9333SAli Bahrami	getwd;
98*cd3e9333SAli Bahrami	index;
99*cd3e9333SAli Bahrami	killpg;
100*cd3e9333SAli Bahrami	mctl;
101*cd3e9333SAli Bahrami	nice;
102*cd3e9333SAli Bahrami	nlist;
103*cd3e9333SAli Bahrami	printf;
104*cd3e9333SAli Bahrami	psignal;
105*cd3e9333SAli Bahrami	rand;
106*cd3e9333SAli Bahrami	readdir;
107*cd3e9333SAli Bahrami	reboot;
108*cd3e9333SAli Bahrami	re_comp;
109*cd3e9333SAli Bahrami	re_exec;
110*cd3e9333SAli Bahrami	rindex;
111*cd3e9333SAli Bahrami	scandir;
112*cd3e9333SAli Bahrami	setbuffer;
113*cd3e9333SAli Bahrami	sethostname;
114*cd3e9333SAli Bahrami	setlinebuf;
115*cd3e9333SAli Bahrami	setpgrp;
116*cd3e9333SAli Bahrami	settimeofday;
117*cd3e9333SAli Bahrami	sigblock;
118*cd3e9333SAli Bahrami	siginterrupt;
119*cd3e9333SAli Bahrami	signal;
120*cd3e9333SAli Bahrami	sigpause;
121*cd3e9333SAli Bahrami	sigsetmask;
122*cd3e9333SAli Bahrami	sigstack;
123*cd3e9333SAli Bahrami	sigvec;
124*cd3e9333SAli Bahrami	sigvechandler;
125*cd3e9333SAli Bahrami	sleep			{ TYPE = FUNCTION; FILTER = libc.so.1 };
126*cd3e9333SAli Bahrami	sprintf;
127*cd3e9333SAli Bahrami	srand;
128*cd3e9333SAli Bahrami	statfs;
129*cd3e9333SAli Bahrami	sys_siglist;
130*cd3e9333SAli Bahrami	times;
131*cd3e9333SAli Bahrami	ualarm			{ TYPE = FUNCTION; FILTER = libc.so.1 };
132*cd3e9333SAli Bahrami	usignal;
133*cd3e9333SAli Bahrami	usigpause;
134*cd3e9333SAli Bahrami	usleep			{ TYPE = FUNCTION; FILTER = libc.so.1 };
135*cd3e9333SAli Bahrami	vfprintf;
136*cd3e9333SAli Bahrami	vprintf;
137*cd3e9333SAli Bahrami	vsprintf;
138*cd3e9333SAli Bahrami	wait3;
139*cd3e9333SAli Bahrami	wait4;
140*cd3e9333SAli Bahrami
141*cd3e9333SAli Bahrami	# The longjmp/setjmp story is complex:
142*cd3e9333SAli Bahrami	# - On sparc, they are supplied by the library
143*cd3e9333SAli Bahrami	# - On 32-bit x86, they are filters on libc
144*cd3e9333SAli Bahrami	# - On amd64, they are not present in this library
145*cd3e9333SAli Bahrami$if _sparc
146*cd3e9333SAli Bahrami	longjmp;
147*cd3e9333SAli Bahrami	setjmp;
148*cd3e9333SAli Bahrami$elif _x86 && _ELF32
149*cd3e9333SAli Bahrami	longjmp			{ TYPE = FUNCTION; FILTER = libc.so.1 };
150*cd3e9333SAli Bahrami	setjmp			{ TYPE = FUNCTION; FILTER = libc.so.1 };
151*cd3e9333SAli Bahrami$endif
152*cd3e9333SAli Bahrami
153*cd3e9333SAli Bahrami$if _sparc && _ELF64
154*cd3e9333SAli Bahrami} SUNW_0.7;
155*cd3e9333SAli Bahrami
156*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_0.7 {
157*cd3e9333SAli Bahrami    global:
158*cd3e9333SAli Bahrami	SUNW_0.7;
159*cd3e9333SAli Bahrami$endif
160*cd3e9333SAli Bahrami};
161*cd3e9333SAli Bahrami
162*cd3e9333SAli BahramiSYMBOL_VERSION SUNWprivate_1.1 {
163f808c858Sraf    global:
164f808c858Sraf	_doprnt;
165f808c858Sraf	_getarg;
166f808c858Sraf	_mkarglst;
167f808c858Sraf	_sigblock;
168f808c858Sraf	_siginterrupt;
169f808c858Sraf	_sigsetmask;
170f808c858Sraf	_sigstack;
171f808c858Sraf	_sigvec;
172f808c858Sraf	_sigvechandler;
173f808c858Sraf	ucbsigblock;
174f808c858Sraf	ucbsiginterrupt;
175f808c858Sraf	ucbsigpause;
176f808c858Sraf	ucbsigsetmask;
177f808c858Sraf	ucbsigvec;
178*cd3e9333SAli Bahrami
179*cd3e9333SAli Bahrami
180*cd3e9333SAli Bahrami	# Handle per-platform variations
181*cd3e9333SAli Bahrami$if _sparc
182*cd3e9333SAli Bahrami	_longjmp;
183*cd3e9333SAli Bahrami	_setjmp;
184*cd3e9333SAli Bahrami	__sigcleanup;
185*cd3e9333SAli Bahrami$if _ELF32
186*cd3e9333SAli Bahrami	syscall			{ TYPE = FUNCTION; FILTER = libc.so.1 };
187*cd3e9333SAli Bahrami$endif
188*cd3e9333SAli Bahrami$endif
189*cd3e9333SAli Bahrami
190*cd3e9333SAli Bahrami$if _x86 && _ELF32
191*cd3e9333SAli Bahrami	_longjmp		{ TYPE = FUNCTION; FILTER = libc.so.1 };
192*cd3e9333SAli Bahrami	_setjmp			{ TYPE = FUNCTION; FILTER = libc.so.1 };
193*cd3e9333SAli Bahrami	_syscall		{ TYPE = FUNCTION; FILTER = libc.so.1 };
194*cd3e9333SAli Bahrami	_times			{ TYPE = FUNCTION; FILTER = libc.so.1 };
195*cd3e9333SAli Bahrami$endif
196*cd3e9333SAli Bahrami
197*cd3e9333SAli Bahrami
198f808c858Sraf    local:
199f808c858Sraf	*;
200f808c858Sraf};
201*cd3e9333SAli Bahrami
202*cd3e9333SAli Bahrami
203