xref: /illumos-gate/usr/src/lib/libaio/common/mapfile-vers (revision cd3e933325e68e23516a196a8fea7f49b1e497c3)
1*cd3e9333SAli Bahrami#
2*cd3e9333SAli Bahrami# CDDL HEADER START
3*cd3e9333SAli Bahrami#
4*cd3e9333SAli Bahrami# The contents of this file are subject to the terms of the
5*cd3e9333SAli Bahrami# Common Development and Distribution License (the "License").
6*cd3e9333SAli Bahrami# You may not use this file except in compliance with the License.
7*cd3e9333SAli Bahrami#
8*cd3e9333SAli Bahrami# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*cd3e9333SAli Bahrami# or http://www.opensolaris.org/os/licensing.
10*cd3e9333SAli Bahrami# See the License for the specific language governing permissions
11*cd3e9333SAli Bahrami# and limitations under the License.
12*cd3e9333SAli Bahrami#
13*cd3e9333SAli Bahrami# When distributing Covered Code, include this CDDL HEADER in each
14*cd3e9333SAli Bahrami# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*cd3e9333SAli Bahrami# If applicable, add the following below this CDDL HEADER, with the
16*cd3e9333SAli Bahrami# fields enclosed by brackets "[]" replaced with your own identifying
17*cd3e9333SAli Bahrami# information: Portions Copyright [yyyy] [name of copyright owner]
18*cd3e9333SAli Bahrami#
19*cd3e9333SAli Bahrami# CDDL HEADER END
20*cd3e9333SAli Bahrami#
21*cd3e9333SAli Bahrami#
22*cd3e9333SAli Bahrami# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
23*cd3e9333SAli Bahrami#
24*cd3e9333SAli Bahrami
25*cd3e9333SAli Bahrami#
26*cd3e9333SAli Bahrami# MAPFILE HEADER START
27*cd3e9333SAli Bahrami#
28*cd3e9333SAli Bahrami# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
29*cd3e9333SAli Bahrami# Object versioning must comply with the rules detailed in
30*cd3e9333SAli Bahrami#
31*cd3e9333SAli Bahrami#	usr/src/lib/README.mapfiles
32*cd3e9333SAli Bahrami#
33*cd3e9333SAli Bahrami# You should not be making modifications here until you've read the most current
34*cd3e9333SAli Bahrami# copy of that file. If you need help, contact a gatekeeper for guidance.
35*cd3e9333SAli Bahrami#
36*cd3e9333SAli Bahrami# MAPFILE HEADER END
37*cd3e9333SAli Bahrami#
38*cd3e9333SAli Bahrami
39*cd3e9333SAli Bahrami#
40*cd3e9333SAli Bahrami# DO NOT TOUCH THIS FILE.
41*cd3e9333SAli Bahrami# This file declares interfaces that are cast in stone.
42*cd3e9333SAli Bahrami# They offer interfaces that will never change.
43*cd3e9333SAli Bahrami# DO NOT TOUCH THIS FILE.
44*cd3e9333SAli Bahrami#
45*cd3e9333SAli Bahrami
46*cd3e9333SAli Bahrami$mapfile_version 2
47*cd3e9333SAli Bahrami
48*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.1 {
49*cd3e9333SAli Bahrami    global:
50*cd3e9333SAli Bahrami	assfail			{ TYPE = FUNCTION };
51*cd3e9333SAli Bahrami    local:
52*cd3e9333SAli Bahrami	*;
53*cd3e9333SAli Bahrami} SUNW_1.0;
54*cd3e9333SAli Bahrami
55*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.0 {
56*cd3e9333SAli Bahrami    global:
57*cd3e9333SAli Bahrami$if _ELF32
58*cd3e9333SAli Bahrami	aioread64		{ TYPE = FUNCTION };
59*cd3e9333SAli Bahrami	aiowrite64		{ TYPE = FUNCTION };
60*cd3e9333SAli Bahrami$elif _ELF64
61*cd3e9333SAli Bahrami	SUNW_1.0;
62*cd3e9333SAli Bahrami$else
63*cd3e9333SAli Bahrami$error unknown ELFCLASS
64*cd3e9333SAli Bahrami$endif
65*cd3e9333SAli Bahrami} SUNW_0.7;
66*cd3e9333SAli Bahrami
67*cd3e9333SAli Bahrami#
68*cd3e9333SAli Bahrami# For most platforms, SUNW_0.7 contains aiocancel, aioread, aiowait, and
69*cd3e9333SAli Bahrami# aiowrite. For ABI reasons, 32-bit sparc puts them in SISCD_2.3, and
70*cd3e9333SAli Bahrami# SUNW_0.7 inherits it.
71*cd3e9333SAli Bahrami#
72*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_0.7 {
73*cd3e9333SAli Bahrami    global:
74*cd3e9333SAli Bahrami	close			{ TYPE = FUNCTION; FLAGS = NODIRECT };
75*cd3e9333SAli Bahrami	fork			{ TYPE = FUNCTION; FLAGS = NODIRECT };
76*cd3e9333SAli Bahrami	sigaction		{ TYPE = FUNCTION };
77*cd3e9333SAli Bahrami$if _sparc && _ELF32
78*cd3e9333SAli Bahrami} SISCD_2.3;
79*cd3e9333SAli Bahrami
80*cd3e9333SAli BahramiSYMBOL_VERSION SISCD_2.3 {
81*cd3e9333SAli Bahrami    global:
82*cd3e9333SAli Bahrami$endif
83*cd3e9333SAli Bahrami	aiocancel		{ TYPE = FUNCTION };
84*cd3e9333SAli Bahrami	aioread			{ TYPE = FUNCTION };
85*cd3e9333SAli Bahrami	aiowait			{ TYPE = FUNCTION };
86*cd3e9333SAli Bahrami	aiowrite		{ TYPE = FUNCTION };
87*cd3e9333SAli Bahrami};
88*cd3e9333SAli Bahrami
89*cd3e9333SAli BahramiSYMBOL_VERSION SUNWprivate_1.1 {
90*cd3e9333SAli Bahrami    global:
91*cd3e9333SAli Bahrami	_sigaction		{ TYPE = FUNCTION };
92*cd3e9333SAli Bahrami};
93