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